first risc level block test working

assign was not executing yield
baecause it was just testing for send, instead of callable
This commit is contained in:
Torsten Ruger
2018-07-30 20:11:52 +03:00
parent 1d2ec8e8ac
commit 4fe0edd1e3
6 changed files with 77 additions and 25 deletions

View File

@ -16,7 +16,7 @@ module Vool
end
def chain_assign(assign , compiler)
return assign unless @value.is_a?(SendStatement)
return assign unless @value.is_a?(CallStatement)
@value.to_mom(compiler) << assign
end
end