Torsten Rüger
e6c30d98fb
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)
16 lines
267 B
Ruby
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
|