This website requires JavaScript.
Explore
Help
Sign In
nrabulinski
/
lix
Watch
0
Star
0
Fork
You've already forked lix
0
forked from
lix-project/lix
Code
Pull requests
Activity
cf89bfc499
lix
/
tests
/
functional
/
lang
/
parse-fail-eol-3.err.exp
7 lines
143 B
Plaintext
Raw
Normal View
History
Unescape
Escape
match line endings used by parser and error reports 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). (cherry picked from commit 2be6b143289e5479cc4a2667bb84e879116c2447) Change-Id: Ieb7f7655bac8cb0cf5734c60bd41723388f2973c
2024-01-29 05:19:23 +00:00
error: undefined variable 'invalid'
Format Nix code with `nixfmt` Change-Id: I61efeb666ff7481c05fcb247168290e86a250151
2024-03-27 19:34:10 +00:00
at «stdin»:2:1:
match line endings used by parser and error reports 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). (cherry picked from commit 2be6b143289e5479cc4a2667bb84e879116c2447) Change-Id: Ieb7f7655bac8cb0cf5734c60bd41723388f2973c
2024-01-29 05:19:23 +00:00
1| # foo
2| invalid
| ^
3| # bar
Copy permalink