73799e2c3c
It's done with similar constructions where possible trying to preserve intended behavior. Some usages are removed because they test exactly the feature that we are going to drop soon.
9 lines
183 B
Kotlin
Vendored
9 lines
183 B
Kotlin
Vendored
fun foo() {
|
|
val (i:Int,s:String) = bar()
|
|
val h = { -> bar()}
|
|
for (i:Int in collection) {
|
|
}
|
|
}
|
|
|
|
// SET_FALSE: SPACE_BEFORE_TYPE_COLON
|
|
// SET_TRUE: SPACE_AFTER_TYPE_COLON |