Rename Vool Block to Lambda

Making the distinction clearer
Some fixing of previous (wip)
This commit is contained in:
2019-08-19 10:40:22 +03:00
parent 02807cf6f9
commit ae16551ed0
8 changed files with 12 additions and 12 deletions

View File

@ -27,7 +27,7 @@ module Ruby
when LocalAssignment
ret = ReturnStatement.new( LocalVariable.new(statement.name) )
return Statements.new([statement , ret])
when ReturnStatement , IfStatement , WhileStatement ,BlockStatement
when ReturnStatement , IfStatement , WhileStatement ,RubyBlockStatement
return statement
else
raise "Not implemented implicit return #{statement.class}"