about summary refs log tree commit diff stats
path: root/sandbox/005-sandbox.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-01-27 19:59:29 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-01-27 19:59:29 -0800
commit0d3f30c21164b9fd722455e9fc60cdb0add2a866 (patch)
treec8b87736fd7c330f2b305923cb992998266f459f /sandbox/005-sandbox.mu
parent50689bff2ed59814a67e74e90a33717552d69df0 (diff)
downloadmu-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/005-sandbox.mu')
-rw-r--r--sandbox/005-sandbox.mu1
1 files changed, 1 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
 ]]