about summary refs log tree commit diff stats
path: root/057immutable.cc
diff options
context:
space:
mode:
Diffstat (limited to '057immutable.cc')
-rw-r--r--057immutable.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/057immutable.cc b/057immutable.cc
index 9d9f71d4..06f8f601 100644
--- a/057immutable.cc
+++ b/057immutable.cc
@@ -309,19 +309,19 @@ def bar [
 //: when checking for immutable ingredients, remember to take space into account
 :(scenario check_space_of_reagents_in_immutability_checks)
 def main [
-  a:&:@:location <- new-closure
+  a:space <- new-closure
   b:&:num <- new number:type
-  run-closure b:&:num, a:&:@:location
+  run-closure b:&:num, a:space
 ]
 def new-closure [
   new-default-space
   x:&:num <- new number:type
   return default-space
 ]
-def run-closure x:&:num, s:&:@:location [
+def run-closure x:&:num, s:space [
   local-scope
   load-ingredients
-  0:&:@:location/names:new-closure <- copy s
+  0:space/names:new-closure <- copy s
   # different space; always mutable
   *x:&:num/space:1 <- copy 34
 ]
6 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151