fix slot moves for assignment

This commit is contained in:
Torsten Ruger
2017-09-10 13:04:36 +03:00
parent 66901eeb5b
commit 43d660d2d2
4 changed files with 21 additions and 4 deletions

View File

@ -11,6 +11,10 @@ module Vool
lst = RubyCompiler.compile( "foo = bar")
assert_equal :foo , lst.name
end
def test_local_const
lst = RubyCompiler.compile( "foo = 5")
assert_equal LocalAssignment , lst.class
end
end
end