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