fix inital main (again)
stop even compiling a fake main if a real exists (in builtin) previous version was still buggy: using builting methods types (especially locals) even comiled version had different
This commit is contained in:
@ -13,10 +13,10 @@ module Mom
|
||||
assert_equal MomCompiler , @comp.class
|
||||
end
|
||||
def test_compilers
|
||||
assert_equal 24 , @comp.method_compilers.length
|
||||
assert_equal 23 , @comp.method_compilers.length
|
||||
end
|
||||
def test_compilers_bare
|
||||
assert_equal 23 , MomCompiler.new.method_compilers.length
|
||||
assert_equal 22 , MomCompiler.new.method_compilers.length
|
||||
end
|
||||
def test_returns_constants
|
||||
assert_equal Array , @comp.constants.class
|
||||
|
Reference in New Issue
Block a user