rubyx/test/ruby/test_assignment1.rb
Torsten Rüger e6c30d98fb Fix if statements hoisting, now that send is working
Same same, just have to remembe to actually execute the condition if it is a send
Having send a possible expression, removes one tmp variable and associated move, for a little extra work.
Next return and assign (rest)
2019-08-16 18:42:57 +03:00

16 lines
267 B
Ruby

require_relative "helper"
module Ruby
class TestVoolCallMulti2 < MiniTest::Test
include RubyTests
include RubyTests
def setup
@lst = compile( "@foo = a.call(b)").to_vool
end
def test_s
assert_equal "" , @lst.to_s
end
end
end