slovo/tests/cyclic-struct-fields.diag
2026-05-22 08:38:43 +02:00

22 lines
482 B
Plaintext

(diagnostic
(schema slovo.diagnostic)
(version 1)
(severity error)
(code RecursiveStructFieldUnsupported)
(message "recursive struct fields are not supported (`Left -> Right -> Left`)")
(file "<fixture>")
(span
(bytes 69 73)
(range 8 9 8 13)
)
(hint "flatten the struct graph or remove the recursive field")
(related
(span
(file "<fixture>")
(bytes 24 28)
(range 4 9 4 13)
(message "recursive struct declaration")
)
)
)