storing method, not just name in message

goes with a rename and other admin
This commit is contained in:
Torsten Ruger
2015-07-01 19:39:23 +03:00
parent 5e85d0781f
commit 6a23ef8b26
8 changed files with 20 additions and 15 deletions

View File

@ -8,7 +8,7 @@ module Virtual
me = Compiler.compile( expession.receiver , method )
method.info.add_code NewMessage.new
method.info.add_code Set.new( me , NewSelf.new(me.type))
method.info.add_code Set.new( expession.name.to_sym , NewMessageName.new())
method.info.add_code Set.new( expession.name.to_sym , NewMessageMethod.new())
compiled_args = []
expession.args.each_with_index do |arg , i|
#compile in the running method, ie before passing control