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

@ -105,7 +105,7 @@ module Risc
# use the input as it, compile and run it
# input muts contain a Space.main, but may contain more classes and methods
def run_input(input)
@string_input = preload + input
@string_input = input
do_setup
run_all
end