fix moms ivar assignment

This commit is contained in:
Torsten Ruger
2017-09-10 13:33:32 +03:00
parent c245acbdd3
commit 1a9370ad14
3 changed files with 26 additions and 13 deletions

View File

@ -21,6 +21,11 @@ module Vool
assert_equal :foo , lst.name
end
def test_const
lst = RubyCompiler.compile( "@foo = 5")
assert_equal IvarAssignment , lst.class
end
end
end