Add warning for initializers with obsolete syntax
Expected 'init' keyword before class initializer
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
|
||||
class Foo() {
|
||||
private val builder = StringBuilder("sdfsd");
|
||||
private val builder = StringBuilder("sdfsd")
|
||||
|
||||
{
|
||||
init {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user