Skip to content

Commit 05c7173

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

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
@@ -81,7 +81,7 @@ Now, we have reverted to the following syntax:
8181
```
8282

8383
# `Matchable` trait – a new top-level type
84-
The motivation for this change is the fact that it is possible to access the underlying type referenced by an opaque type using pattern matching:
84+
Although opaque types are supposed to provide an opaque abstraction of their underlying types, it is currently too easy to break the abstraction using pattern matching:
8585

8686
```scala
8787
val imm = IArray(1,2,3) // supposedly immutable...

0 commit comments

Comments
 (0)