fix ruby variables

This commit is contained in:
Torsten Ruger
2018-07-20 14:22:26 +03:00
parent f4402ba30f
commit 98788b52d3
5 changed files with 53 additions and 11 deletions

View File

@@ -0,0 +1,12 @@
module Vool
class IvarAssignment < Assignment
def to_mom( compiler )
to = Mom::SlotDefinition.new(:message ,[ :receiver , @name])
from = @value.slot_definition(compiler)
return chain_assign( Mom::SlotLoad.new(to,from) , compiler)
end
end
end