Skip to content

Commit 638f70f

Browse files
committed
Add point about unreductible match types raising error
1 parent 1b430cf commit 638f70f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

blog/_posts/2021-10-19-scala-3.1.0-released.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ that were true in Scala 2, will also remain true when compiled with Scala 3.
7878
- A `Wildcard` was made a subtype of `Ident` in the reflection API
7979
- `TypedOrTest` was added as a supertype of `Typed` in the reflection API
8080
- `Unapply.apply` was added to allow contruction of `Unapply` trees from macros
81+
- Unreductible match types are now raising type error
8182
- Scala 3.1 targets Scala.js 1.7.x+. This means that users must upgrade to Scala.js 1.7.0 or later to use Scala 3.1.
8283

8384
Beside that Scala 3.1.0 introduced multiple small improvements and fixed a handful of bugs. You can see [the detailed changelog](https://github.com/lampepfl/dotty/releases/tag/3.1.0) on GitHub.

0 commit comments

Comments
 (0)