about summary refs log tree commit diff stats
path: root/053recipe_header.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-27 09:10:38 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-27 09:10:38 -0700
commit91f220ae692490ab182bf493857e912c4a977cf4 (patch)
tree93c60ea1f5d87b5e4ab9be68197853ae45471484 /053recipe_header.cc
parent5a26c015a4218f10316ecad7f9cb794d8f12f3d5 (diff)
downloadmu-91f220ae692490ab182bf493857e912c4a977cf4.tar.gz
3598 - 'use before set' errors were too cryptic
Diffstat (limited to '053recipe_header.cc')
-rw-r--r--053recipe_header.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/053recipe_header.cc b/053recipe_header.cc
index 87b018c8..75b50b89 100644
--- a/053recipe_header.cc
+++ b/053recipe_header.cc
@@ -228,7 +228,7 @@ def foo a:num [
   local-scope
   b:num <- add a:num, 1
 ]
-+error: foo: use before set: 'a'
++error: foo: tried to read ingredient 'a' in 'b:num <- add a:num, 1' but it hasn't been written to yet
 +error:   did you forget 'load-ingredients'?
 
 :(after "use-before-set Error")