resolve methods, don't just get them
i.e. down the ladder we go
This commit is contained in:
parent
7523bac80a
commit
a1aa6b58ac
@ -39,7 +39,7 @@ module Soml
|
|||||||
name = statement.first.first
|
name = statement.first.first
|
||||||
#puts "clazz #{clazz.name}"
|
#puts "clazz #{clazz.name}"
|
||||||
raise "No such class" unless clazz
|
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
|
#puts Register.machine.space.get_class_by_name(:Integer).method_names.to_a
|
||||||
raise "Method not implemented #{clazz.name}.#{name}" unless method
|
raise "Method not implemented #{clazz.name}.#{name}" unless method
|
||||||
Register.issue_call( self , method )
|
Register.issue_call( self , method )
|
||||||
|
Loading…
Reference in New Issue
Block a user