Setup spacing rules for anonymous initializers
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
annotation class Ann
|
||||
class A {
|
||||
{}{}{}
|
||||
fun foo1() {
|
||||
|
||||
}
|
||||
val x: Int = 1
|
||||
init{}
|
||||
fun foo2() {
|
||||
|
||||
}
|
||||
Ann init {}
|
||||
Ann init {}
|
||||
|
||||
|
||||
fun foo3() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
{}
|
||||
|
||||
constructor() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* abcde */init {
|
||||
|
||||
}
|
||||
|
||||
fun foo4() {
|
||||
|
||||
}
|
||||
|
||||
val a3 = foo4() // el
|
||||
/* abc */ init {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user