diff --git a/_cheatsheets/index.md b/_cheatsheets/index.md index 41e35e3eb2..679e4ed242 100644 --- a/_cheatsheets/index.md +++ b/_cheatsheets/index.md @@ -331,7 +331,7 @@ breakable { var y = x val readonly = 5 private var secret = 1 - def this = this(42) + def this() = this(42) } Constructor is class body.
Declare a public member.
Declare a gettable but not settable member.
Declare a private member.
Alternative constructor.