about summary refs log tree commit diff stats
path: root/045closure_name.cc
diff options
context:
space:
mode:
Diffstat (limited to '045closure_name.cc')
-rw-r--r--045closure_name.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/045closure_name.cc b/045closure_name.cc
index 237eee3c..66696fc6 100644
--- a/045closure_name.cc
+++ b/045closure_name.cc
@@ -21,7 +21,7 @@ recipe init-counter [
 ]
 
 recipe increment-counter [
-  default-space:address:array:location <- new space:literal, 30:literal
+  default-space:address:array:location <- new location:type, 30:literal
   0:address:array:location/names:init-counter <- next-ingredient  # outer space must be created by 'init-counter' above
   y:number/space:1 <- add y:number/space:1, 1:literal  # increment
   y:number <- copy 234:literal  # dummy