fix scoping of blockcompiler

Was accessing caller scope, but must use caller's caller as the yield itself is a call.
This commit is contained in:
Torsten Ruger
2018-07-31 18:00:42 +03:00
parent 4fe0edd1e3
commit 04bcfea8ce
6 changed files with 80 additions and 36 deletions

View File

@ -3,7 +3,6 @@ require_relative "../helper"
module Risc
class TestMessageSetupSimple < MiniTest::Test
include Statements
include Assertions
def setup
super