small meta related changes

This commit is contained in:
Torsten Ruger 2015-11-07 00:14:10 +02:00
parent 42c404802d
commit fd7e4afb2f
2 changed files with 2 additions and 5 deletions

View File

@ -38,10 +38,10 @@ module Soml
def do_call clazz , statement
name = statement.first.first
#puts "clazz #{clazz.name}"
raise "No such class #{me.type}" unless clazz
raise "No such class" unless clazz
method = clazz.get_instance_method(name)
#puts Register.machine.space.get_class_by_name(:Integer).method_names.to_a
raise "Method not implemented #{me.type}.#{name}" unless method
raise "Method not implemented #{clazz.name}.#{name}" unless method
Register.issue_call( self , method )
end
def set_message_details name_s , arguments

View File

@ -21,8 +21,6 @@ module Soml
raise "Not covered #{receiver}"
end
end
r = @clazz
class_name = @clazz.name
@method = @clazz.get_instance_method( name )
if(@method)
@ -31,7 +29,6 @@ module Soml
init_method
else
create_method_for(@clazz, name , args ).init_method
@clazz.add_instance_method @method
end
@method.source = statement
#puts "compile method #{@method.name}"