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
deprecate the enum keyword in 0.4.0, and support it as flags
optionally, introduce a non-flags enum type in 0.5.x series
Backwards Compatibility
All VIPs that introduce backwards incompatibilities must include a section describing these incompatibilities and their severity. The VIP must explain how the author proposes to deal with these incompatibilities.
Dependencies
If this VIP depends on any other VIPs being implemented, please mention them.
References
Add any references that this VIP might reference (other VIPs/issues, links to blog posts, etc.)
Simple Summary
per title
Motivation
enum
has been a bit confusing, since vyper'senum
really follows https://docs.python.org/3/library/enum.html#enum.IntFlag semantics. rename toflags
.Specification
deprecate the
enum
keyword in 0.4.0, and support it asflags
optionally, introduce a non-flags
enum
type in 0.5.x seriesBackwards Compatibility
All VIPs that introduce backwards incompatibilities must include a section describing these incompatibilities and their severity. The VIP must explain how the author proposes to deal with these incompatibilities.
Dependencies
If this VIP depends on any other VIPs being implemented, please mention them.
References
Add any references that this VIP might reference (other VIPs/issues, links to blog posts, etc.)
Copyright
Copyright and related rights waived via CC0
The text was updated successfully, but these errors were encountered: