get block resolution to use the extra

block_compiler puts in the extra, that we get out when resolving the type
Thus block args work, though only by assuming direct call
This commit is contained in:
Torsten Ruger
2018-07-17 10:37:33 +03:00
parent 280ea8a8c4
commit ff8b95f21a
7 changed files with 36 additions and 11 deletions

View File

@ -66,7 +66,7 @@ module Risc
end
# resolve the type of the slot, by inferring from it's name, using the type
# scope related slots are resolved by the compiler by methood/block
# scope related slots are resolved by the compiler by method/block
def slot_type( slot , type)
case slot
when :frame