Commit bbbdc02
authored
Update enhanced enum feature specification. (#2017)
* Update enhanced enum feature specification.
State that `index` and `toString` are inherited from `Enum`.
State that `values` is only added if it would not conflict.
Rephrase the definition in terms of an `enum` declaration
introducing a *class*, not a `class` declaration.
Then put the corresponding class declaration into the
"implementation" section as a desugaring, not a specification.1 parent 63633ce commit bbbdc02
File tree
1 file changed
+186
-140
lines changed- accepted/future-releases/enhanced-enums
1 file changed
+186
-140
lines changed
0 commit comments