Files
kotlin-fork/compiler/testData/debug/stepping/propertyAccessor.kt
T
Mads Ager 9fa1614903 [JVM] Port line number tests to stepping framework.
Allow specifying JVM and JVM_IR as well as shared expectations.

Add the method name to the step.

Discard steps in synthetic methods.
2020-05-27 07:28:47 +02:00

21 lines
253 B
Kotlin
Vendored

// FILE: test.kt
class A {
val prop : Int
get() {
return 1
}
}
fun box() {
A().prop
}
// LINENUMBERS
// test.kt:11 box
// test.kt:3 <init>
// test.kt:11 box
// test.kt:6 getProp
// test.kt:11 box
// test.kt:12 box