Skip to content

Commit 7fffd53

Browse files
Kordyjanjulienrf
andauthored
Apply suggestions to 3.0.2 announcement
Co-authored-by: Julien Richard-Foy <julien@richard-foy.fr>
1 parent c846a8d commit 7fffd53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blog/_posts/2021-09-02-scala-3.0.2-released.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ by: Paweł Marks, VirtusLab
55
title: Scala 3.0.2 released!
66
---
77

8-
Greetings from the Scala 3 team! We are glad to announce that Scala 3.0.2 is now officially out. As no critical bugs have been found in the previously released Scala 3.0.2-RC2, it has been promoted to 3.0.2 and is the current stable scala version.
8+
Greetings from the Scala 3 team! We are glad to announce that Scala 3.0.2 is now officially out. As no critical bugs have been found in the previously released Scala 3.0.2-RC2, it has been promoted to 3.0.2 and is the current stable Scala version.
99
Recently, we are more and more confident that we can release stable versions of the compiler frequently and regularly. So, we have decided that the blog posts should focus more on stable features available for all users in the latest release of scala. So here, as a refresher, you have a summary of the most significant changes introduced in 3.0.2.
1010

1111
## What's new in 3.0.2
@@ -53,7 +53,7 @@ The compiler option `-Yexplicit-nulls` modifies Scala's standard type hierarchy
5353
After the recently introduced changes with this option enabled the `Null` type becomes a subtype of `Matchable` instead of inheriting directly from `Any`, making the code below compile (this used to compile before only without strict nullability checking).
5454

5555
```scala
56-
def foo[T <: Matchable](t: T) = t match { case null => () }
56+
def foo(x: Matchable) = x match { case null => () }
5757
```
5858

5959
### Method search by type signature

0 commit comments

Comments
 (0)