resolve methods, don't just get them

i.e. down the ladder we go
This commit is contained in:
Torsten Ruger 2015-11-07 19:39:15 +02:00
parent 7523bac80a
commit a1aa6b58ac

View File

@ -39,7 +39,7 @@ module Soml
name = statement.first.first
#puts "clazz #{clazz.name}"
raise "No such class" unless clazz
method = clazz.get_instance_method(name)
method = clazz.resolve_method(name)
#puts Register.machine.space.get_class_by_name(:Integer).method_names.to_a
raise "Method not implemented #{clazz.name}.#{name}" unless method
Register.issue_call( self , method )