misc fixes and (finally, sigh) green again

deeeep dive, almost 40 commits
This commit is contained in:
Torsten Ruger
2018-07-04 09:18:55 +03:00
parent d8b58d8da6
commit 2485f7e9eb
9 changed files with 30 additions and 52 deletions

View File

@ -78,7 +78,7 @@ module Risc
input = in_Test("def meth; return 'Hi';end")
mom = RubyX::RubyXCompiler.new(input).ruby_to_mom
assert_equal Mom::MomCompiler , mom.class
compiler = mom.method_compilers.last
compiler = mom.method_compilers.first
assert_equal MethodCompiler , compiler.class
assert compiler.constants.include?("Hi")
end