fix while.to_vool
sanitize normalizer on the way - return ruby, let caller to_vool - return single statement, not single? statements
This commit is contained in:
@ -13,7 +13,7 @@ module Ruby
|
||||
|
||||
def to_vool
|
||||
cond , rest = *normalize_name(@condition)
|
||||
WhileStatement.new(cond , @body.normalize , rest)
|
||||
Vool::WhileStatement.new(cond.to_vool , @body.to_vool , rest&.to_vool)
|
||||
end
|
||||
|
||||
def to_s(depth = 0)
|
||||
|
Reference in New Issue
Block a user