Skip to content

Commit 7373308

Browse files
Mention #11670 and #11745
1 parent 442fe17 commit 7373308

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/blog/_posts/2021-03-31-scala3-rc2.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ PR [#9884](https://github.com/lampepfl/dotty/pull/9884) adds a new language feat
3636
## Treat Scala.js pseudo-unions as real unions
3737
In PR [#11671](https://github.com/lampepfl/dotty/pull/11671), we now treat the `scala.scalajs.js.|[A, B]` as if it was a real Scala 3 union `A | B`, which further boosts the support for Scala.js in Scala 3.
3838

39+
## Other API changes
40+
`-Ycheck-init` was renamed to `-Ysafe-init`. This flag is used to check safe initialization, more about which you can read in the [documentation](https://dotty.epfl.ch/docs/reference/other-new-features/safe-initialization.html). See also PR [#11920](https://github.com/lampepfl/dotty/pull/11920).
41+
42+
PR [#11745](https://github.com/lampepfl/dotty/pull/11745) changes the `compiletime` package API a bit. `compiletime.S` was moved to `compiletime.ops.int.S` and the package object `compiletime` was removed in favor of top-level definitions.
43+
3944
## Metaprogramming
4045
The following are some notable metaprogramming changes included into this release:
4146

0 commit comments

Comments
 (0)