mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 07:16:17 +02:00
2be6b14328
the parser treats a plain \r as a newline, error reports do not. this can lead to interesting divergences if anything makes use of this feature, with error reports pointing to wrong locations in the input (or even outside the input altogether).
6 lines
163 B
Text
6 lines
163 B
Text
error: undefined variable 'invalid'
|
|
at /pwd/lang/eval-fail-eol-3.nix:2:1:
|
|
1| # foo
|
|
2| invalid
|
|
| ^
|
|
3| # bar
|