You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@encody The specification denotes the type of the field, not the fact that as u8 conversion will be used. That said, it might be worth considering adding this feature support. I am happy to review a PR if anyone will submit one.
The specification says that for serializing enums, the pseudocode procedure is as follows:
Therefore, I would expect the following code to work:
However, it fails:
It is serialized the same as if the discriminant were not specified:
The text was updated successfully, but these errors were encountered: