fix ruby return statement

assignment and normalizer on the way
This commit is contained in:
Torsten Ruger
2018-07-20 09:07:09 +03:00
parent a5168ef818
commit 8cd9818f64
4 changed files with 30 additions and 8 deletions

View File

@ -10,7 +10,7 @@ module Ruby
def to_vool
val , rest = *normalize_name(@return_value)
me = ReturnStatement.new(val)
me = Vool::ReturnStatement.new(val)
return me unless rest
rest << me
rest