mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-14 02:06:16 +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-1.nix:2:1:
|
|
1| # foo
|
|
2| invalid
|
|
| ^
|
|
3| # bar
|