about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--edit/011-errors.mu6
-rw-r--r--sandbox/011-errors.mu6
2 files changed, 8 insertions, 4 deletions
diff --git a/edit/011-errors.mu b/edit/011-errors.mu
index 23c2c172..b48cd5fa 100644
--- a/edit/011-errors.mu
+++ b/edit/011-errors.mu
@@ -486,7 +486,8 @@ recipe foo [
     .  local-scope                                     ┊                                                 .
     .  x:num <- copy y:num                             ┊                                                 .
     .]                                                 ┊                                                 .
-    .foo: use before set: 'y'                          ┊                                                 .
+    .foo: tried to read ingredient 'y' in 'x:num <- co↩┊                                                 .
+    .py y:num' but it hasn't been written to yet       ┊                                                 .
     .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊                                                 .
     .                                                  ┊                                                 .
   ]
@@ -504,7 +505,8 @@ recipe foo [
     .  local-scope                                     ┊                                                 .
     .  x:num <- copy y:num                             ┊                                                 .
     .]                                                 ┊                                                 .
-    .foo: use before set: 'y'                          ┊                                                 .
+    .foo: tried to read ingredient 'y' in 'x:num <- co↩┊                                                 .
+    .py y:num' but it hasn't been written to yet       ┊                                                 .
     .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊                                                 .
     .                                                  ┊                                                 .
   ]
diff --git a/sandbox/011-errors.mu b/sandbox/011-errors.mu
index cffbb437..7e620e55 100644
--- a/sandbox/011-errors.mu
+++ b/sandbox/011-errors.mu
@@ -462,7 +462,8 @@ recipe foo [
     .──────────────────────────────────────────────────.
     .0   edit           copy           delete          .
     .foo                                               .
-    .foo: use before set: 'y'                          .
+    .foo: tried to read ingredient 'y' in 'x:num <- co↩.
+    .py y:num' but it hasn't been written to yet       .
   ]
   # rerun the file, check for the same error
   assume-console [
@@ -477,7 +478,8 @@ recipe foo [
     .──────────────────────────────────────────────────.
     .0   edit           copy           delete          .
     .foo                                               .
-    .foo: use before set: 'y'                          .
+    .foo: tried to read ingredient 'y' in 'x:num <- co↩.
+    .py y:num' but it hasn't been written to yet       .
   ]
 ]