slovo/tests/unsupported-string-escape.diag
2026-05-22 08:38:43 +02:00

16 lines
391 B
Plaintext

(diagnostic
(schema slovo.diagnostic)
(version 1)
(severity error)
(code UnsupportedStringEscape)
(message "string literal uses an unsupported escape")
(file "<fixture>")
(span
(bytes 52 54)
(range 5 18 5 20)
)
(expected "\\n, \\t, \\\", or \\\\")
(found "\\0")
(hint "the first string runtime slice supports only newline, tab, quote, and backslash escapes")
)