File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/docs/reference/enums Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ map into `case class`es or `val`s.
3434 ``` scala
3535 enum E ... { <defs > <cases > }
3636 ```
37- expands to a ` sealed abstract ` class that extends the ` scala.Enum ` trait and
37+ expands to a ` sealed abstract ` class that extends the ` scala.reflect. Enum ` trait and
3838 an associated companion object that contains the defined cases, expanded according
3939 to rules (2 - 8). The enum class starts with a compiler-generated import that imports
4040 the names ` <caseIds> ` of all cases so that they can be used without prefix in the class.
4141 ``` scala
42- sealed abstract class E ... extends <parents > with scala.Enum {
42+ sealed abstract class E ... extends <parents > with scala.reflect. Enum {
4343 import E .{ <caseIds> }
4444 <defs >
4545 }
You can’t perform that action at this time.
0 commit comments