Files
kotlin-fork/compiler/testData/writeSignature/syntheticAccessorForGeneric.kt
T
Alexander Udalov d757847ed6 JVM: enable -Xlambdas=class for some backend tests
These tests are checking the specifics of the class-generated lambdas.
2023-05-12 15:21:00 +00:00

23 lines
409 B
Kotlin
Vendored

// LAMBDAS: CLASS
class MyList<T> {
private fun noSignature(): T? = null
fun withSignature(): T? = null
fun removeHeader() {
{
noSignature()
}
}
}
// method: MyList::withSignature
// jvm signature: ()Ljava/lang/Object;
// generic signature: ()TT;
// method: MyList::access$noSignature
// jvm signature: (LMyList;)Ljava/lang/Object;
// generic signature: null