hacking method not found

was using exit, since raise is not implemented. This was ambiguous as all programs exit.
Using :died as special kernel code and bending it, and reporting it in interpreter.
This commit is contained in:
2019-09-09 11:47:37 +03:00
parent 7334e72458
commit 0ae7c5d8aa
6 changed files with 22 additions and 7 deletions

View File

@ -42,7 +42,7 @@ module Mains
run_all
assert_equal ::Integer , get_return.class , " "
#assert_equal 4 , get_return , " "
assert_equal "hi" , @interpreter.stdout
assert_equal "Space" , @interpreter.stdout
end
end