slovo/tests/unsupported-array-local-mutation.diag
2026-05-22 08:38:43 +02:00

14 lines
299 B
Plaintext

(diagnostic
(schema slovo.diagnostic)
(version 1)
(severity error)
(code MutableArrayLocalUnsupported)
(message "first-pass arrays can be stored only in immutable locals")
(file "<fixture>")
(span
(bytes 42 48)
(range 5 8 5 14)
)
(hint "declare array locals with `let`")
)