Files
kotlin-fork/compiler/testData/lineNumber/custom/chainCall.kt
T
Nikolay Krasko 3d9d6e666d Test several line numbers are generated for one instruction
(cherry picked from commit 1ea9280)
2016-10-05 18:49:38 +03:00

15 lines
191 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 16 12 17 13