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

22 lines
473 B
Plaintext

(diagnostic
(schema slovo.diagnostic)
(version 1)
(severity error)
(code RecursiveStructFieldUnsupported)
(message "recursive struct fields are not supported (`Node -> Node`)")
(file "<fixture>")
(span
(bytes 37 41)
(range 5 9 5 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")
)
)
)