make compiler default to compiling Space.main
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user