Files
kotlin-fork/idea/testData/formatter/ConsecutiveSafeCallsIndent.kt
T
Nikolay Krasko 195d4c54bf Indent for ?. calls (KT-3913)
#KT-3913 Fixed
2014-05-16 17:09:49 +04:00

12 lines
122 B
Kotlin

class Some {
fun some(): Some? = this
}
public fun bar(): String? =
Some()
?.some()
?.some()
?.some()!!
.toString()