make compiler default to compiling Space.main

This commit is contained in:
Torsten Ruger
2016-12-17 00:17:35 +02:00
parent ece017fa86
commit 681b53cc4c
3 changed files with 16 additions and 12 deletions

View File

@@ -52,10 +52,9 @@ module Typed
end
def do_call( type , statement )
name = statement.name
#puts "type #{type.inpect}"
raise "No such class" unless type
#puts "type #{type.inspect}"
method = type.get_instance_method(name)
#puts Register.machine.space.get_class_by_name(:Integer).method_names.to_a
#puts type.method_names.to_a
raise "Method not implemented #{type.inspect}.#{name}" unless method
Register.issue_call( self , method )
end