Setup spacing rules for anonymous initializers

This commit is contained in:
Denis Zharkov
2015-03-18 12:42:47 +03:00
parent bd5dbb665e
commit 13f933693f
10 changed files with 211 additions and 1 deletions
@@ -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 {
}
}