diff options
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/005-sandbox.mu | 1 | ||||
-rw-r--r-- | sandbox/010-warnings.mu | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sandbox/005-sandbox.mu b/sandbox/005-sandbox.mu index 35d53beb..08bdf37f 100644 --- a/sandbox/005-sandbox.mu +++ b/sandbox/005-sandbox.mu @@ -459,6 +459,7 @@ reply z # make a change (incrementing one of the args to 'add'), then rerun 1:address:shared:array:character <- new [ recipe foo [ +local-scope z:number <- add 2, 3 reply z ]] diff --git a/sandbox/010-warnings.mu b/sandbox/010-warnings.mu index 7f725097..f4651db5 100644 --- a/sandbox/010-warnings.mu +++ b/sandbox/010-warnings.mu @@ -425,6 +425,7 @@ scenario run-shows-get-on-non-container-warnings [ assume-screen 50/width, 20/height 1:address:shared:array:character <- new [ recipe foo [ + local-scope x:address:shared:point <- new point:type get x:address:shared:point, 1:offset ]] @@ -450,6 +451,7 @@ scenario run-shows-non-literal-get-argument-warnings [ assume-screen 50/width, 20/height 1:address:shared:array:character <- new [ recipe foo [ + local-scope x:number <- copy 0 y:address:shared:point <- new point:type get *y:address:shared:point, x:number @@ -477,6 +479,7 @@ scenario run-shows-warnings-everytime [ # try to run a file with an error 1:address:shared:array:character <- new [ recipe foo [ + local-scope x:number <- copy y:number ]] 2:address:shared:array:character <- new [foo] |