Add warning for initializers with obsolete syntax
Expected 'init' keyword before class initializer
This commit is contained in:
@@ -4,7 +4,7 @@ package kt37
|
||||
class C() {
|
||||
private var f: Int
|
||||
|
||||
{
|
||||
init {
|
||||
f = 610
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user