We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f28215 commit 9beafc7Copy full SHA for 9beafc7
docs/docs/reference/other-new-features/creator-applications.md
@@ -7,7 +7,7 @@ Creator applications allow to use simple function call syntax to create instance
7
of a class, even if there is no apply method implemented. Example:
8
```scala
9
class StringBuilder(s: String) {
10
- def this() = this(s)
+ def this() = this("")
11
}
12
13
StringBuilder("abc") // same as new StringBuilder("abc")
0 commit comments