Files
lix/tests/functional/lang/eval-fail-select-err.err.exp
T
piegamesandCommentator2.0 e2944876cc tests/functional/lang: Change base path to the lang directory
Currently, all tests are relative to `./tests/functional` instead of
`./tests/functional/lang`. Whether this is a historical artefact or as
intended, the current move is to align the tests with the new design of
functional2, preparing them for an easier migration.

Change-Id: Ie394691b071488a8000a005080b9167786d5bd9a
2025-05-21 20:36:20 +02:00

24 lines
747 B
Plaintext

error:
… while evaluating the attribute 'src.meta'
at /pwd/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/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/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