We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e27fbf commit 484cb62Copy full SHA for 484cb62
docs/docs/reference/enums/desugarEnums.md
@@ -206,7 +206,7 @@ Cases such as `case C` expand to a `@static val` as opposed to a `val`. This all
206
### Other Rules
207
208
- A normal case class which is not produced from an enum case is not allowed to extend
209
-`scala.Enum`. This ensures that the only cases of an enum are the ones that are
+`scala.reflect.Enum`. This ensures that the only cases of an enum are the ones that are
210
explicitly declared in it.
211
212
- If an enum case has an extends clause, the enum class must be one of the
0 commit comments