cd9209a7ee
Most of these tests check the specific structure of lambdas when they are generated as classes, and they start to fail once invokedynamic lambdas are enabled by default.
15 lines
215 B
Kotlin
Vendored
15 lines
215 B
Kotlin
Vendored
// LAMBDAS: CLASS
|
|
|
|
class A {
|
|
public var prop = "O"
|
|
private set
|
|
|
|
fun test() {
|
|
val f = { prop }
|
|
f()
|
|
}
|
|
}
|
|
|
|
// 0 INVOKESTATIC test\/A\.access\$getProp\$0
|
|
// 1 INVOKEVIRTUAL A\.getProp
|