Files
kotlin-fork/idea/testData/formatter/SpacesInQualifiedExpressions.after.kt
T
Dmitry Jemerov 5652fa762f Force no line break after dot in chained calls
#KT-20362 Fixed
2017-12-22 10:35:22 +01:00

33 lines
240 B
Kotlin
Vendored

interface Test {
fun foo(): Test
}
fun test(t: Test) {
t.foo()
t.foo()
t.foo()
t
.foo()
t.foo().foo()
t?.foo()
t?.foo()
t?.foo()
t
?.foo()
t?.foo()?.foo()
}