From a1aa6b58acc8bd9dfe82724cda29be6f07fdb2cc Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Sat, 7 Nov 2015 19:39:15 +0200 Subject: [PATCH] resolve methods, don't just get them i.e. down the ladder we go --- lib/soml/compiler/call_site.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )