Skip to content

Commit d13bd1b

Browse files
Merge pull request #8132 from taisukeoe/patch-2
fix union type sample code to compile
2 parents a5c01eb + d431348 commit d13bd1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/docs/reference/new-types/union-types-spec.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ Given
7171
```scala
7272
trait C[+T]
7373
trait D
74+
trait E
7475
class A extends C[A] with D
7576
class B extends C[B] with D with E
7677
```

0 commit comments

Comments
 (0)