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

@ -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}"