still working on the method dispatch

This commit is contained in:
Torsten Ruger
2014-06-13 23:41:45 +03:00
parent ebf117a63a
commit a7551ea8b6
10 changed files with 79 additions and 39 deletions

View File

@ -26,9 +26,8 @@ module Ast
raise "uups #{clazz}.#{name}" unless clazz
#class qualifier, means call from metaclass
clazz = clazz.meta_class
value = clazz
puts "CLAZZ #{value}"
function = clazz.get_or_create_function(name)
puts "CLAZZ #{clazz}"
clazz
end
end