Renaming Vool exppressions rightly

Class, Method and Lambda (was block) are expressions.
Just making things clearer, especially for the blocks (ahem, lambdas) is matters.
wip
This commit is contained in:
2019-08-19 11:33:12 +03:00
parent ae16551ed0
commit f87526f86f
44 changed files with 162 additions and 92 deletions

View File

@ -41,7 +41,7 @@ module Ruby
assert @lst.first.first.name.to_s.start_with?("implicit_block")
end
def test_block_assign_right
assert_equal Vool::LambdaStatement , @lst.first.first.value.class
assert_equal Vool::LambdaExpression , @lst.first.first.value.class
end
def test_a_assign
assert_equal Vool::LocalAssignment , @lst.first.last.class