tracking ivar bug
This commit is contained in:
parent
8c53b4ab67
commit
e2729513ed
@ -15,6 +15,11 @@ module Vool
|
|||||||
lst = RubyCompiler.compile( "foo = 5")
|
lst = RubyCompiler.compile( "foo = 5")
|
||||||
assert_equal LocalAssignment , lst.class
|
assert_equal LocalAssignment , lst.class
|
||||||
end
|
end
|
||||||
|
def test_local_ivar
|
||||||
|
lst = RubyCompiler.compile( "foo = @iv")
|
||||||
|
assert_equal LocalAssignment , lst.class
|
||||||
|
assert_equal InstanceVariable , lst.value.class
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user