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.
2 parents ddd2a1b + 7f4b8cd commit 5d9e31bCopy full SHA for 5d9e31b
docs/docs/reference/adts.md
@@ -55,8 +55,8 @@ respect to normal case classes. The classes making up the cases do
55
exist, and can be unvealed by constructing them directly with a `new`.
56
57
```scala
58
+scala> new Option.Some(2)
59
val res3: t2.Option.Some[Int] = Some(2)
-scala> scala> new Option.Some(2)
60
```
61
62
As all other enums, ADTs can have methods on both the enum class and
0 commit comments