about summary refs log tree commit diff stats
path: root/sandbox
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/010-errors.mu7
1 files changed, 4 insertions, 3 deletions
diff --git a/sandbox/010-errors.mu b/sandbox/010-errors.mu
index ab2fb98b..1a84764d 100644
--- a/sandbox/010-errors.mu
+++ b/sandbox/010-errors.mu
@@ -287,7 +287,8 @@ scenario run-updates-errors-for-shape-shifting-recipes [
   1:address:shared:array:character <- new [recipe foo x:_elem -> z:_elem [
 local-scope
 load-ingredients
-z <- add x, [a]
+y:address:number <- copy 0
+z <- add x, y
 ]]
   2:address:shared:array:character <- new [foo 2]
   3:address:shared:programming-environment-data <- new-programming-environment screen:address:shared:screen, 2:address:shared:array:character
@@ -302,7 +303,7 @@ z <- add x, [a]
     .0                                                x.
     .foo 2                                             .
     .foo_2: 'add' requires number ingredients, but got↩.
-    . [a]                                              .
+    . y                                                .
     .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.
     .                                                  .
   ]
@@ -321,7 +322,7 @@ z <- add x, [a]
     .0                                                x.
     .foo 2                                             .
     .foo_2: 'add' requires number ingredients, but got↩.
-    . [a]                                              .
+    . y                                                .
     .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━.
     .                                                  .
   ]