Add warning for initializers with obsolete syntax
Expected 'init' keyword before class initializer
This commit is contained in:
@@ -3,7 +3,7 @@ fun test(x: Any) {
|
||||
|
||||
class LocalOuter {
|
||||
inner class Local {
|
||||
{
|
||||
init {
|
||||
<!DEBUG_INFO_SMARTCAST!>x<!>.length()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user