DescriptionRework how enums are implemented and reloaded
- Enum instances now hold their index and their label. Before the labels were held in a static array to the side and the index was used to look up the label.
- Before and after reload enum instances are now paired (by label) and put into the 'become' table.
Fixes https://github.com/dart-lang/sdk/issues/26877
R=rmacnak@google.com
Committed: https://github.com/dart-lang/sdk/commit/c692a64e5ad9674d2def15e85da24f71f5f40f8a
Patch Set 1 #
Messages
Total messages: 6 (3 generated)
|