Add warning for initializers with obsolete syntax
Expected 'init' keyword before class initializer
This commit is contained in:
@@ -5,7 +5,7 @@ class Test<in I, out O> {
|
||||
private var i: I = getT()
|
||||
private val j: I
|
||||
|
||||
;{
|
||||
init {
|
||||
j = getT()
|
||||
i = getT()
|
||||
this.i = getT()
|
||||
|
||||
Reference in New Issue
Block a user