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.
2 parents 7143421 + 9beafc7 commit ae0df96Copy full SHA for ae0df96
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