Skip to content

Commit 8bc74a5

Browse files
Kordyjanprolativ
andauthored
Apply suggestions from code review
Co-authored-by: Michał Pałka <prolativus@gmail.com>
1 parent ec42953 commit 8bc74a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ You can opt-in using following import.
2929
import language.experimental.saferExceptions
3030
```
3131

32-
Now it is possible to mark types with exception that can be thrown during the evaluation:
32+
Now it is possible to mark types with the type of exception that can be thrown during the evaluation:
3333

3434
```scala
3535
def f(x: Double): Double canThrow LimitExceeded =
@@ -84,7 +84,7 @@ sealed trait Bottom extends Top
8484

8585
Previously you would not be able to summon an instance of `scala.deriving.Mirror.SumOf` for `Top`, as its child `Bottom` is not a case class. In Scala 3.1 this is now possible, enabling compiletime reflection over nested hierarchies of sealed types.
8686

87-
The only change necessary for users is that you should now consider that one of the `MirroredElemTypes` for a `Mirror.SumOf` could also be a sum type, not just product types.
87+
The only change necessary for users is that they should now consider that one of the `MirroredElemTypes` for a `Mirror.SumOf` could also be a sum type, not just product types.
8888

8989
### Other changes
9090

@@ -94,7 +94,7 @@ The only change necessary for users is that you should now consider that one of
9494
- A `Wildcard` was made a subtype of `Ident` in the reflection API
9595
- `TypedOrTest` was added as a supertype of `Typed` in the reflection API
9696
- `Unapply.apply` was added to allow contruction of `Unapply` trees from macros
97-
- Unreductible match types are now raising type error
97+
- Unreductible match types now raise type errors
9898
- 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.
9999

100100
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)