Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/reference/adts.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ respect to normal case classes. The classes making up the cases do
exist, and can be unvealed by constructing them directly with a `new`.

```scala
scala> new Option.Some(2)
val res3: t2.Option.Some[Int] = Some(2)
scala> scala> new Option.Some(2)
```

As all other enums, ADTs can have methods on both the enum class and
Expand Down