tracking ivar bug

This commit is contained in:
Torsten Ruger 2018-03-18 22:38:00 +05:30
parent 8c53b4ab67
commit e2729513ed

View File

@ -15,6 +15,11 @@ module Vool
lst = RubyCompiler.compile( "foo = 5")
assert_equal LocalAssignment , lst.class
end
def test_local_ivar
lst = RubyCompiler.compile( "foo = @iv")
assert_equal LocalAssignment , lst.class
assert_equal InstanceVariable , lst.value.class
end
end
end