Files
kotlin-fork/compiler/testData/diagnostics/tests/delegatedProperty/inference/labeledDelegatedExpression.fir.kt
T

12 lines
244 B
Kotlin
Vendored

import kotlin.reflect.KProperty
class A3 {
val a: String by l@ MyProperty()
class MyProperty<T> {}
operator fun <T> MyProperty<T>.getValue(thisRef: Any?, desc: KProperty<*>): T {
throw Exception("$thisRef $desc")
}
}