Block/Lambda rework done

recovered from all renames and redoing the block compilation
all green
This commit is contained in:
2019-08-19 15:23:57 +03:00
parent a722a4c285
commit d5d1df951c
9 changed files with 74 additions and 81 deletions

View File

@ -42,7 +42,7 @@ module Risc
def test_creates_method_statement_in_class
clazz = in_test_vool("def meth; @ivar = 5 ;return;end")
assert_equal Vool::Statements , clazz.body.class
assert_equal Vool::MethodStatement , clazz.body.first.class
assert_equal Vool::MethodExpression , clazz.body.first.class
end
def test_callable_method_instance_type