slovo/tests/malformed-unsafe-form.diag
2026-05-22 08:38:43 +02:00

15 lines
384 B
Plaintext

(diagnostic
(schema slovo.diagnostic)
(version 1)
(severity error)
(code MalformedUnsafeForm)
(message "`unsafe` block must contain a final expression")
(file "<fixture>")
(span
(bytes 37 45)
(range 5 3 5 11)
)
(expected "(unsafe body-form... final-expression)")
(hint "use `(unsafe expression)` or add supported body forms before the final expression")
)