rename (corrected) method def to instance methods in class

This commit is contained in:
Torsten Ruger
2014-08-23 23:57:47 +03:00
parent ad6be2676c
commit a7bfb6e6ee
9 changed files with 18 additions and 19 deletions

View File

@ -14,7 +14,7 @@ module Virtual
raise "unimplemented"
elsif( me.is_a? ObjectConstant )
clazz = me.clazz
method = clazz.get_method_definition code.name
method = clazz.get_instance_method code.name
raise "Method not implemented #{clazz.name}.#{code.name}" unless method
call = FunctionCall.new( method )
block.replace(code , [call] )