mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-16 03:06:17 +02:00
d384ecd553
the parser modifies its inputs, which means that sharing them between the error context reporting system and the parser itself can confuse the reporting system. usually this led to early truncation of error context reports which, while not dangerous, can be quite confusing.
6 lines
196 B
Text
6 lines
196 B
Text
error: syntax error, unexpected ':', expecting '}'
|
|
at «stdin»:3:13:
|
|
2|
|
|
3| f = {x, y : ["baz" "bar" z "bat"]}: x + y;
|
|
| ^
|
|
4|
|