Files
lix/tests/functional2/lang/string/eval-okay-backslash-newline.err.exp
T
piegames ae4a000576 deprecated-features/broken-string-escape: Improve warning message
Explicitly catch common errors (trying to escape line breaks, badly
escaping interpolations) to provide better messages and user guidance
for these cases.

Change-Id: I3dd1b2ad3bca33be393e65be5e72f4fb9544a46a
2026-02-11 12:24:35 +01:00

6 lines
350 B
Plaintext

warning: \ at the end of a line is an ill-defined escape. Escaping line endings has no effect. You can either drop the trailing \, or use an explicit string concatenation instead. Use --extra-deprecated-features broken-string-escape to silence this warning.
at /pwd/in.nix:1:4:
1| "a\
| ^
2| b"