Skip to content

Commit 82c1afe

Browse files
Update docs/blog/_posts/2020-12-18-scala3-m3.md
Co-authored-by: Sébastien Doeraene <[email protected]>
1 parent 05c7173 commit 82c1afe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/blog/_posts/2020-12-18-scala3-m3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Although opaque types are supposed to provide an opaque abstraction of their und
8686
```scala
8787
val imm = IArray(1,2,3) // supposedly immutable...
8888
imm match
89-
case a: Array[Int] => a(0) = 0 // but that's shown to be lie
89+
case a: Array[Int] => a(0) = 0 // but that's shown to be lie
9090
```
9191

9292
To address this change, a new trait, `Matchable`, is introduced at the top of the type hierarchy:

0 commit comments

Comments
 (0)