Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upShould we be using FromJSValConvertible for enum conversions? #26169
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems like we don't have FromJSValConvertible implementations for enums. I can't think of a good reason for doing this, and this also means our bindings code is littered with code like
We should probably fix this.
Furthermore, this prevents us from using
sequence<EnumType>in dictionaries in WebIDL