slovo/tests/std-string-slice-result-type.diag

15 lines
288 B
Plaintext

(diagnostic
(schema slovo.diagnostic)
(version 1)
(severity error)
(code TypeMismatch)
(message "cannot call `std.string.slice_result` with argument of wrong type")
(file "<fixture>")
(span
(bytes 86 89)
(range 5 36 5 39)
)
(expected "i32")
(found "string")
)