Add warning for initializers with obsolete syntax
Expected 'init' keyword before class initializer
This commit is contained in:
@@ -7,7 +7,7 @@ class A {
|
||||
}
|
||||
|
||||
class B() {
|
||||
{
|
||||
init {
|
||||
A().<!INVISIBLE_MEMBER!>a<!> = "Hello"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user