Files
lix/tests/functional2/lang/string-coerce-integers/eval-fail-coerce-substring.err.exp
T
Commentator2.0 89a9d6e529 tests/functional2/lang: Migrate string coersion for integers
Change-Id: I428c8935119b3184109b3e3f760ed72054b0cd00
2025-11-18 19:45:15 +01:00

11 lines
311 B
Plaintext

error:
… while calling the 'substring' builtin
at /pwd/in.nix:1:1:
1| builtins.substring 0 1 42 == "4"
| ^
2|
… while evaluating the third argument (the string) passed to builtins.substring
error: cannot coerce an integer to a string: 42