Skip to content

Commit 7e76269

Browse files
Update docs/blog/_posts/2021-02-18-scala3-rc1.md
Co-authored-by: Dale Wijnand <[email protected]>
1 parent 9fb36b1 commit 7e76269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Results in:
7676
```scala
7777
1 |f(Foo)
7878
| ^^^
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.
8080
```
8181

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.

0 commit comments

Comments
 (0)