diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-01-27 19:59:29 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-01-27 19:59:29 -0800 |
commit | 0d3f30c21164b9fd722455e9fc60cdb0add2a866 (patch) | |
tree | c8b87736fd7c330f2b305923cb992998266f459f /sandbox/010-warnings.mu | |
parent | 50689bff2ed59814a67e74e90a33717552d69df0 (diff) | |
download | mu-0d3f30c21164b9fd722455e9fc60cdb0add2a866.tar.gz |
2610 - warn when recipes don't use default-space
Somehow this never transferred over from the Arc version until now.
Diffstat (limited to 'sandbox/010-warnings.mu')
-rw-r--r-- | sandbox/010-warnings.mu | 3 |
1 files changed, 3 insertions, 0 deletions
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] |