and another one, and another one....

This commit is contained in:
Torsten Ruger
2014-07-13 16:00:48 +03:00
parent ae21863245
commit c1f475070b
5 changed files with 15 additions and 10 deletions

View File

@ -35,9 +35,9 @@ module Ast
# this makes the namespace static, ie when eval and co are implemented method needs recompilation
def compile frame , method
if method.has_var(name)
frame.compile_get(name , method )
frame.compile_get(method , name )
else
frame.compile_send( name , method )
frame.compile_send( method , name )
end
end
end