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

16 lines
383 B
Plaintext

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