summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-10-16 18:39:55 -0700
committerOri Bernstein <ori@eigenstate.org>2017-10-16 18:39:55 -0700
commitcdcf48dae4edd909f3384be4aa34bf41d9de62bc (patch)
treec35d1a564f3da9bd97b72477d6fbeae790518481
parentfc186cb5dc36f2253453904d308cb0040f3e6c0c (diff)
downloadmc-cdcf48dae4edd909f3384be4aa34bf41d9de62bc.tar.gz
Improve error message for missing deps.
-rw-r--r--mbld/deps.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbld/deps.myr b/mbld/deps.myr
index fa894f4..1ad1b22 100644
--- a/mbld/deps.myr
+++ b/mbld/deps.myr
@@ -374,7 +374,7 @@ const resolve = {b
const edge = {g, n, e
match std.htget(g.gen, e)
| `std.None:
- std.fatal("nothing satisfies {} for {}\n", e, n.lbl)
+ std.fatal("{}: missing build rule for {}\n", n.lbl, e)
| `std.Some d:
std.slpush(&n.ndep, d)
std.slpush(&d.ngen, n)