You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/blog/_posts/2021-02-18-scala3-rc1.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,8 @@ import NumPy as np
32
32
33
33
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).
34
34
35
-
# Use `uninitialized` for wildcard initializers
36
-
An obscure use of _ occurs in var definitions:
35
+
# Use `unitialized` for wildcard initializers
36
+
An obscure use of underscore (`_`) occurs in var definitions:
37
37
38
38
```scala
39
39
varx:T= _
@@ -76,7 +76,7 @@ Results in:
76
76
```scala
77
77
1|f(Foo)
78
78
|^^^
79
-
|The method `apply` is inserted. The auto insertion will be deprecated, please write `rs$line$1$#Foo.apply` explicitly.
79
+
|The method `apply` is inserted. The auto insertion will be deprecated, please write `Foo.apply` explicitly.
80
80
```
81
81
82
82
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.
0 commit comments