Files
kotlin-fork/compiler/testData/lineNumber/custom/chainCall.kt
T
2015-11-30 12:25:51 +03:00

16 lines
188 B
Kotlin
Vendored

class A {
fun foo() = this
inline fun bar() = this
}
fun foo() {
val a = A()
a.foo()
.foo()
a.bar()
.bar()
}
// 2 3 1 7 8 9 8 9 11 12 11 17 12 17 13