fix assignments to_vool

This commit is contained in:
Torsten Ruger
2018-07-20 13:43:37 +03:00
parent e536a7ac88
commit d14eca3e70
2 changed files with 26 additions and 6 deletions

View File

@ -23,8 +23,8 @@ module Ruby
self.vool_brother.new(name,value)
end
def to_vool_send
statements = value.normalize()
def normalize_send
statements = value.to_vool
return copy( statements ) if statements.is_a?(Vool::SendStatement)
assign = statements.statements.pop
statements << copy(assign)