everything but dynamic dispatch

This commit is contained in:
Torsten Ruger
2018-03-16 19:39:35 +05:30
parent d01bdf5dc5
commit ba3ec9b1a2
9 changed files with 27 additions and 82 deletions

View File

@ -32,9 +32,9 @@ module Vool
assert_equal LocalAssignment , lst.body.class
end
def test_body_is_scope_zero_statement
input = "def tryout(arg1, arg2) ; ; end "
input = "def tryout(arg1, arg2) ; arg1 = arg2 ; end "
lst = RubyCompiler.compile( input )
assert_equal ScopeStatement , lst.body.class
assert_equal LocalAssignment , lst.body.class
end
end
end