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