check for redefining of methods and forbid

causing some test problems, but better that way (until it's done right off course)
This commit is contained in:
2019-09-24 21:20:12 +03:00
parent 3df54910cc
commit 1022390e0f
9 changed files with 45 additions and 24 deletions

View File

@ -4,8 +4,8 @@ module Mom
module Builtin
class TestObjectInitRisc < BootTest
def setup
Parfait.boot!(Parfait.default_test_options)
get_compiler("Space",:main)
compiler = RubyX::RubyXCompiler.new(RubyX.default_test_options)
coll = compiler.ruby_to_mom( get_preload("Space.main") )
@method = MomCollection.create_init_compiler
end
def test_mom_length