slovo/tests/enum-payload-recursive-struct.diag
2026-05-22 08:38:43 +02:00

22 lines
536 B
Plaintext

(diagnostic
(schema slovo.diagnostic)
(version 1)
(severity error)
(code RecursiveEnumPayloadStructUnsupported)
(message "recursive enum payload/struct cycles are not supported (`Wrapper -> Node -> Wrapper`)")
(file "<fixture>")
(span
(bytes 37 44)
(range 5 9 5 16)
)
(hint "break the cycle by removing the struct payload edge or a direct enum/struct field edge")
(related
(span
(file "<fixture>")
(bytes 54 61)
(range 7 7 7 14)
(message "recursive enum declaration")
)
)
)