Skip to content

Commit 61f8da5

Browse files
committed
Revert "Mention that enum declarations are implicitly final"
This reverts commit 86fc594.
1 parent 86fc594 commit 61f8da5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

accepted/future-releases/class-modifiers/feature-specification.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -657,13 +657,6 @@ we can specify the restrictions imposed by modifiers._
657657

658658
### Basic restrictions
659659

660-
With respect to compile-time errors caused by missing required class
661-
modifiers, every `enum` declaration is considered to have the modifier
662-
`final`. *An enum declaration is always subject to restrictions which are
663-
at least as strong as the restrictions implied by that modifier. This
664-
ensures that we can specify those errors without mentioning an exception
665-
for enum declarations in every rule.*
666-
667660
It's a compile-time error if:
668661

669662
* A declaration depends directly on a `sealed` declaration from another

0 commit comments

Comments
 (0)