slovo/tests/match-arm-type-mismatch.diag
2026-05-22 08:38:43 +02:00

23 lines
421 B
Plaintext

(diagnostic
(schema slovo.diagnostic)
(version 1)
(severity error)
(code MatchArmTypeMismatch)
(message "match arm final expressions must have the same type")
(file "<fixture>")
(span
(bytes 123 128)
(range 9 7 9 12)
)
(expected "i32")
(found "bool")
(related
(span
(file "<fixture>")
(bytes 96 103)
(range 7 7 7 14)
(message "first arm result type")
)
)
)