Closed mina86 closed 11 months ago
Since variants of an enum may use arbitrary tag (rather than sequential numbers), those tags should be included in the schema information.
Enum { tag_width: u8, variants: Vec<(VariantName, Declaration)>, },
->
Enum { // `i64` added to variants tuple tag_width: u8, variants: Vec<(i64, VariantName, Declaration)>, },
(rust allows isize for discriminant numbers)
isize
Since variants of an enum may use arbitrary tag (rather than sequential numbers), those tags should be included in the schema information.
->
(rust allows
isize
for discriminant numbers)