slovo/tests/unsupported-unit-return-signature.diag
2026-05-22 08:38:43 +02:00

16 lines
377 B
Plaintext

(diagnostic
(schema slovo.diagnostic)
(version 1)
(severity error)
(code UnsupportedUnitSignatureType)
(message "function return type `unit` is unsupported")
(file "<fixture>")
(span
(bytes 31 35)
(range 4 16 4 20)
)
(expected "non-unit function return type")
(found "unit")
(hint "`unit` is reserved for compiler/runtime unit-producing forms")
)