Skip to content

Commit e7d421c

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

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
@@ -110,7 +110,7 @@ class AnyVal extends Any, Matchable
110110
class Object extends Any, Matchable
111111
```
112112

113-
Matchable is currently a marker trait without any methods. Over time we might migrate methods getClass and isInstanceOf to it, since these are closely related to pattern-matching.
113+
`Matchable` is currently a marker trait without any methods. Over time, we intend to migrate the methods `getClass` and `isInstanceOf` to it, since these are closely related to pattern-matching.
114114

115115
With the addition of this type, we now make the compiler emit warnings when trying to do a trick like the one discussed above:
116116

0 commit comments

Comments
 (0)