slovo/tests/unsupported-vec-element-type.diag
2026-05-22 08:38:43 +02:00

16 lines
496 B
Plaintext

(diagnostic
(schema slovo.diagnostic)
(version 1)
(severity error)
(code UnsupportedVectorElementType)
(message "vectors support only `i32`, `i64`, `f64`, `bool`, or `string` elements in the current concrete alpha slices")
(file "<fixture>")
(span
(bytes 34 43)
(range 4 19 4 28)
)
(expected "i32, i64, f64, bool, or string")
(found "f32")
(hint "use exactly `(vec i32)`, `(vec i64)`, `(vec f64)`, `(vec bool)`, or `(vec string)` in the collections alpha slices")
)