Skip to content

Commit 50a7f3f

Browse files
Address review
1 parent 4ff5021 commit 50a7f3f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/blog/_posts/2021-02-18-scala3-rc1.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import NumPy as np
3232

3333
For the details and discussion, see [PR #11244](https://github.com/lampepfl/dotty/pull/11244). Read more about this change in the [documentation](https://dotty.epfl.ch/docs/reference/changed-features/imports.html).
3434

35-
# Use `unitialized` for wildcard initializers
35+
# Use `uninitialized` for wildcard initializers
3636
An obscure use of _ occurs in var definitions:
3737

3838
```scala
@@ -82,24 +82,24 @@ Results in:
8282
As the warning suggests, now you should write `Foo.apply` instead of `Foo`. See [Issue #6190](https://github.com/lampepfl/dotty/issues/6190) and [PR #7207](https://github.com/lampepfl/dotty/pull/7207) for discussion.
8383

8484
# Other language changes
85-
- Warn when matching against an opaque type [#10664](https://github.com/lampepfl/dotty/pull/10664) - a useful warning added to draw your attention when you are trying to match against an opaque type.
86-
- Fix [#8634](https://github.com/lampepfl/dotty/issues/8634): Support -release option [#10746](https://github.com/lampepfl/dotty/pull/10746) – the same way Scala 2 does.
85+
- Warn when matching against an opaque type [#10664](https://github.com/lampepfl/dotty/pull/10664)
86+
- Fix [#8634](https://github.com/lampepfl/dotty/issues/8634): Support -release option [#10746](https://github.com/lampepfl/dotty/pull/10746) – the same way Scala 2 does. This setting allows you to specify a version of the Java platform (8, 9 etc) and compile the code with classes specific to the that Java platform, and emit the bytecode for that version.
8787

8888
# Metaprogramming changes
8989
A lot of work has been done on the metaprogramming side of things. Mostly we are cleaning up and polishing the API to prepare it for the stable release. The following are the important metaprogramming changes that took place:
9090

9191
- Add `scala.quoted.Expr.unapply` as dual of `Expr.apply` [#10580](https://github.com/lampepfl/dotty/pull/10580)
9292
- Remove `Expr.StringContext.unapply` [#10675](https://github.com/lampepfl/dotty/pull/10675)
9393
- Add reflect `MatchCase` `TypeRepr` [#10735](https://github.com/lampepfl/dotty/pull/10735)
94-
- Rename scala.quoted.staging.{Toolbox => Compiler} [#11129](https://github.com/lampepfl/dotty/pull/11129)
94+
- Rename `scala.quoted.staging.{Toolbox => Compiler}` [#11129](https://github.com/lampepfl/dotty/pull/11129)
9595
- Fix [#10863](https://github.com/lampepfl/dotty/issues/10863): Make show `AnyKind`ed [#10988](https://github.com/lampepfl/dotty/pull/10988)
9696
- Add ParamClause to allow multiple type param clauses [#11074](https://github.com/lampepfl/dotty/pull/11074)
9797
- Rework reflect Symbol fields API [#10705](https://github.com/lampepfl/dotty/pull/10705)
9898
- Rename `Liftable` to `ToExpr` and `Unliftable` to `FromExpr` [#10618](https://github.com/lampepfl/dotty/pull/10618)
9999
- Expand non-transparent macros after Typer [#9984](https://github.com/lampepfl/dotty/pull/9984)
100100
- Rework TastyInspector API to allow inspection of all files [#10792](https://github.com/lampepfl/dotty/pull/10792)
101101
- Allow leading context parameters in extension methods [#10940](https://github.com/lampepfl/dotty/pull/10940)
102-
- Rename Not to NotGiven to make its purpose clearer [#10720](https://github.com/lampepfl/dotty/pull/10720)
102+
- Rename `Not` to `NotGiven` to make its purpose clearer [#10720](https://github.com/lampepfl/dotty/pull/10720)
103103
- Fix [#10709](https://github.com/lampepfl/dotty/issues/10709): Add missing level check before inlining [#10781](https://github.com/lampepfl/dotty/pull/10781)
104104

105105
# Let us know what you think!

0 commit comments

Comments
 (0)