diff options
author | Ori Bernstein <ori@eigenstate.org> | 2017-10-16 18:39:55 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2017-10-16 18:39:55 -0700 |
commit | cdcf48dae4edd909f3384be4aa34bf41d9de62bc (patch) | |
tree | c35d1a564f3da9bd97b72477d6fbeae790518481 | |
parent | fc186cb5dc36f2253453904d308cb0040f3e6c0c (diff) | |
download | mc-cdcf48dae4edd909f3384be4aa34bf41d9de62bc.tar.gz |
Improve error message for missing deps.
-rw-r--r-- | mbld/deps.myr | 2 |
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) |