about summary refs log tree commit diff stats
path: root/042name.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-07-30 19:28:29 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-07-30 19:28:57 -0700
commit1fbebe73ce457733c8c1352ec807346a038f373d (patch)
tree07286ab283eaa6bbacbc65cb7e46e47f81da4334 /042name.cc
parente140ae63821e7d95e150d94d3ab2c24ccaa81722 (diff)
downloadmu-1fbebe73ce457733c8c1352ec807346a038f373d.tar.gz
1902
Now fix the proximal cause of the write to address 0.
Diffstat (limited to '042name.cc')
-rw-r--r--042name.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/042name.cc b/042name.cc
index ae27f5bf..7620a7e8 100644
--- a/042name.cc
+++ b/042name.cc
@@ -141,10 +141,12 @@ recipe main [
 
 //: an escape hatch to suppress name conversion that we'll use later
 :(scenario transform_names_passes_raw)
+% Hide_warnings = true;
 recipe main [
   x:number/raw <- copy 0
 ]
 -name: assign x 1
++warn: can't write to location 0
 
 :(scenario transform_names_warns_when_mixing_names_and_numeric_locations)
 % Hide_warnings = true;