Files
kotlin-fork/compiler/testData/diagnostics/tests/delegatedProperty/inference/successfulProvideDelegateLeadsToRedGetValue.fir.kt
2024-01-10 14:56:30 +00:00

12 lines
419 B
Kotlin
Vendored

// ISSUE: KT-61077
val test: Int by <!DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE!>materializeDelegate()<!>
fun <T: CharSequence> materializeDelegate(): Box<T> = TODO()
operator fun <K: Comparable<K>> Box<K>.provideDelegate(receiver: Any?, property: kotlin.reflect.KProperty<*>): K = TODO()
operator fun <Q: Comparable<Q>> Q.getValue(thisRef: Any?, property: kotlin.reflect.KProperty<*>): Q = TODO()
class Box<V> {}