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
15 lines
435 B
Plaintext
15 lines
435 B
Plaintext
error:
|
|
… while calling the 'toString' builtin
|
|
at /pwd/eval-fail-toString.nix:1:1:
|
|
1| toString { __toString = 1; }
|
|
| ^
|
|
2|
|
|
|
|
… while converting a set to string
|
|
|
|
error: attempt to call something which is not a function but an integer: 1
|
|
at /pwd/eval-fail-toString.nix:1:12:
|
|
1| toString { __toString = 1; }
|
|
| ^
|
|
2|
|