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
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
error:
|
|
… while calling the 'toJSON' builtin
|
|
at /pwd/eval-fail-toJSON.nix:1:1:
|
|
1| builtins.toJSON {
|
|
| ^
|
|
2| a.b = [
|
|
|
|
… while evaluating attribute 'a'
|
|
at /pwd/eval-fail-toJSON.nix:2:3:
|
|
1| builtins.toJSON {
|
|
2| a.b = [
|
|
| ^
|
|
3| true
|
|
|
|
… while evaluating attribute 'b'
|
|
at /pwd/eval-fail-toJSON.nix:2:3:
|
|
1| builtins.toJSON {
|
|
2| a.b = [
|
|
| ^
|
|
3| true
|
|
|
|
… while evaluating list element at index 3
|
|
at /pwd/eval-fail-toJSON.nix:2:3:
|
|
1| builtins.toJSON {
|
|
2| a.b = [
|
|
| ^
|
|
3| true
|
|
|
|
… while evaluating attribute 'c'
|
|
at /pwd/eval-fail-toJSON.nix:7:7:
|
|
6| {
|
|
7| c.d = throw "hah no";
|
|
| ^
|
|
8| }
|
|
|
|
… while evaluating attribute 'd'
|
|
at /pwd/eval-fail-toJSON.nix:7:7:
|
|
6| {
|
|
7| c.d = throw "hah no";
|
|
| ^
|
|
8| }
|
|
|
|
… caused by explicit throw
|
|
at /pwd/eval-fail-toJSON.nix:7:13:
|
|
6| {
|
|
7| c.d = throw "hah no";
|
|
| ^
|
|
8| }
|
|
|
|
error: hah no
|