Fix all but one test

Riples upon riples. The one left looks like the genuine article
This commit is contained in:
2019-08-16 21:43:54 +03:00
parent 7c91a08d5b
commit d3f3c91ae5
23 changed files with 223 additions and 179 deletions

View File

@ -39,7 +39,7 @@ module Ruby
# rather than using a stack to do that at runtime
def normalize_arg(arg , statements)
vool_arg = arg.to_vool
if arg.is_a?(Constant)
if arg.is_a?(Variable) || arg.is_a?(Constant)
return vool_arg
end
if( vool_arg.is_a?(Vool::Statements))