fix word implementation and tests
much better, though wasteful implementation breaks a few tests, but ploughing on first
This commit is contained in:
@ -8,7 +8,7 @@ module Virtual
|
||||
me = Compiler.compile( expession.receiver , method )
|
||||
method.add_code NewMessage.new
|
||||
method.add_code Set.new(NewSelf.new(me.type), me)
|
||||
method.add_code Set.new(NewName.new(), Parfait::Word.new(expession.name))
|
||||
method.add_code Set.new(NewName.new(), Parfait.new_word(expession.name))
|
||||
compiled_args = []
|
||||
expession.args.each_with_index do |arg , i|
|
||||
#compile in the running method, ie before passing control
|
||||
|
Reference in New Issue
Block a user