Skip to content

Commit b40e33d

Browse files
Merge pull request #10067 from dotty-staging/fix-docs-scala-Enum
typo rename scala.Enum
2 parents 7e27fbf + 484cb62 commit b40e33d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/enums/desugarEnums.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ Cases such as `case C` expand to a `@static val` as opposed to a `val`. This all
206206
### Other Rules
207207

208208
- 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
209+
`scala.reflect.Enum`. This ensures that the only cases of an enum are the ones that are
210210
explicitly declared in it.
211211

212212
- If an enum case has an extends clause, the enum class must be one of the

0 commit comments

Comments
 (0)