about summary refs log tree commit diff stats
path: root/edit/011-errors.mu
diff options
context:
space:
mode:
Diffstat (limited to 'edit/011-errors.mu')
-rw-r--r--edit/011-errors.mu8
1 files changed, 4 insertions, 4 deletions
diff --git a/edit/011-errors.mu b/edit/011-errors.mu
index 373193d6..47258815 100644
--- a/edit/011-errors.mu
+++ b/edit/011-errors.mu
@@ -310,7 +310,7 @@ scenario run-updates-errors-for-shape-shifting-recipes [
       |recipe foo x:_elem -> z:_elem [|
       |  local-scope|
       |  load-ingredients|
-      |  y:&:num <- copy 0|
+      |  y:&:num <- copy null|
       |  z <- add x, y|
       |]|
     ]
@@ -326,7 +326,7 @@ scenario run-updates-errors-for-shape-shifting-recipes [
     .recipe foo x:_elem -> z:_elem [                   ┊                                                 .
     .  local-scope                                     ┊─────────────────────────────────────────────────.
     .  load-ingredients                                ┊0   edit       copy       to recipe    delete    .
-    .  y:&:num <- copy 0                               ┊foo 2                                            .
+    .  y:&:num <- copy null                            ┊foo 2                                            .
     .  z <- add x, y                                   ┊foo_2: 'add' requires number ingredients, but go↩.
     .]                                                 ┊t 'y'                                            .
     .                                                  ┊─────────────────────────────────────────────────.
@@ -346,7 +346,7 @@ scenario run-updates-errors-for-shape-shifting-recipes [
     .recipe foo x:_elem -> z:_elem [                   ┊                                                 .
     .  local-scope                                     ┊─────────────────────────────────────────────────.
     .  load-ingredients                                ┊0   edit       copy       to recipe    delete    .
-    .  y:&:num <- copy 0                               ┊foo 2                                            .
+    .  y:&:num <- copy null                            ┊foo 2                                            .
     .  z <- add x, y                                   ┊foo_3: 'add' requires number ingredients, but go↩.
     .]                                                 ┊t 'y'                                            .
     .                                                  ┊─────────────────────────────────────────────────.
@@ -367,7 +367,7 @@ scenario run-avoids-spurious-errors-on-reloading-shape-shifting-recipes [
     ]
   ]
   # call code that uses other variants of it, but not it itself
-  test-sandbox:text <- new [x:&:list:num <- copy 0
+  test-sandbox:text <- new [x:&:list:num <- copy null
 to-text x]
   env:&:environment <- new-programming-environment resources, screen, test-sandbox
   render-all screen, env, render