piegames
a2ae14bfd8
Calls to `show` have been removed. To counter the loss of information,
the error positions have been improved and now correctly point to the
current selector instead of the entire select expression.
Change-Id: I4771fe874af1ac15828a9863550cd4369a8f0e94
24 lines
762 B
Plaintext
24 lines
762 B
Plaintext
error:
|
|
… while evaluating the attribute 'src.meta'
|
|
at /pwd/lang/eval-fail-select-err.nix:2:3:
|
|
1| let
|
|
2| somepkg.src = throw "invalid foo bar";
|
|
| ^
|
|
3| in somepkg.src.meta
|
|
|
|
… while evaluating an expression to select 'meta' on it
|
|
at /pwd/lang/eval-fail-select-err.nix:3:16:
|
|
2| somepkg.src = throw "invalid foo bar";
|
|
3| in somepkg.src.meta
|
|
| ^
|
|
4|
|
|
|
|
… caused by explicit throw
|
|
at /pwd/lang/eval-fail-select-err.nix:2:17:
|
|
1| let
|
|
2| somepkg.src = throw "invalid foo bar";
|
|
| ^
|
|
3| in somepkg.src.meta
|
|
|
|
error: invalid foo bar
|