Don't print unknown locations unless requested for dev purposes
(cherry picked from commit 3dd4475826dff8052fef42d4600b61e6b91950ac)
Change-Id: I04a91277d1d9d09f5c1bf4a28fc99f0702b161e5
11 lines
254 B
Plaintext
11 lines
254 B
Plaintext
error:
|
|
… while calling the 'substring' builtin
|
|
|
|
at /pwd/lang/eval-fail-substring.nix:1:1:
|
|
|
|
1| builtins.substring (builtins.sub 0 1) 1 "x"
|
|
| ^
|
|
2|
|
|
|
|
error: negative start position in 'substring'
|