24 lines
514 B
Plaintext
24 lines
514 B
Plaintext
(diagnostic
|
|
(schema slovo.diagnostic)
|
|
(version 1)
|
|
(severity error)
|
|
(code MixedEnumPayloadTypesUnsupported)
|
|
(message "enum payload variants in one enum must use the same payload type")
|
|
(file "<fixture>")
|
|
(span
|
|
(bytes 55 61)
|
|
(range 6 12 6 18)
|
|
)
|
|
(expected "i32")
|
|
(found "string")
|
|
(hint "split mixed payload kinds into separate enums")
|
|
(related
|
|
(span
|
|
(file "<fixture>")
|
|
(bytes 39 42)
|
|
(range 5 10 5 13)
|
|
(message "first payload type in this enum")
|
|
)
|
|
)
|
|
)
|