moving from collect to each
when iterating over tree. Much cleaner, less hokuspukus methods that are noops Mom is coming back out, but not linked yet
This commit is contained in:
@ -23,7 +23,7 @@ module MomCompile
|
||||
|
||||
def compile_first_method input
|
||||
lst = Vool::VoolCompiler.ruby_to_vool as_test_main( input )
|
||||
assert_equal Parfait::Class , lst.clazz.class , input
|
||||
assert_equal Parfait::Class , lst.clazz.class , lst
|
||||
@method = lst.clazz.get_method(:main)
|
||||
assert_equal Parfait::VoolMethod , @method.class
|
||||
res = lst.to_mom( nil )
|
||||
|
Reference in New Issue
Block a user