diff --git a/lib/soml/compiler/call_site.rb b/lib/soml/compiler/call_site.rb index 0aef3c13..72662f07 100644 --- a/lib/soml/compiler/call_site.rb +++ b/lib/soml/compiler/call_site.rb @@ -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 )