6ce8d6bd2e
Reflection needs this information to work for local classes and anonymous objects
14 lines
243 B
Kotlin
Vendored
14 lines
243 B
Kotlin
Vendored
// CLASS_NAME_SUFFIX: $main$Local
|
|
|
|
fun main() {
|
|
open class Local {
|
|
fun param(l: Local) {}
|
|
|
|
val returnType: Local = this
|
|
|
|
fun Local.receiver() = this
|
|
|
|
fun <T : Local, U : T> generic(t: T): U = null!!
|
|
}
|
|
}
|