Add warning for initializers with obsolete syntax
Expected 'init' keyword before class initializer
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class ReadByAnotherPropertyInitializer() {
|
||||
val a = 1
|
||||
{
|
||||
init {
|
||||
val <!UNUSED_VARIABLE!>x<!> = $a
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user