3964ee38be
This commit is intended to avoid the second resolve of delegate when we need to consider provideDelegate() possibility in inference. Also here we provide correct completion of synthetic calls during delegate inference. #KT-58013 Fixed
11 lines
180 B
Kotlin
Vendored
11 lines
180 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
class C {
|
|
operator fun getValue(x: Any?, y: Any?): String = ""
|
|
}
|
|
|
|
object O {
|
|
operator fun provideDelegate(x: Any?, y: Any?): C = C()
|
|
}
|
|
|
|
val x: String by O
|