about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-27 09:23:20 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-27 09:23:20 -0700
commit72855698f5ef082b89c2a53b435c4b31495da277 (patch)
tree2006b93677f9b7cee584c219075d026ed686bfab
parent91f220ae692490ab182bf493857e912c4a977cf4 (diff)
downloadmu-72855698f5ef082b89c2a53b435c4b31495da277.tar.gz
3599
-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       .
   ]
 ]