Fixing ruby send with arguments

When send has complex args, mostly more sends, we hoist those out and pass created temporary variables
This commit is contained in:
2019-08-15 21:30:36 +03:00
parent 31ae0a9670
commit 84b9811e55
8 changed files with 124 additions and 12 deletions

View File

@ -9,10 +9,6 @@ module Ruby
RubyCompiler.compile(input)
end
def ruby_to_vool(input)
FIXMERubyXCompiler.new(input).ruby_to_vool
end
def assert_raises_muted &block
orig_stdout = $stdout
$stdout = StringIO.new