// FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER object Inference1 { interface Foo fun delegate(): Foo = TODO() operator fun Foo.getValue(receiver: T, p: Any?): String = TODO() // not working because resulting descriptor for getValue contains type `???` instead of `T` val test1: String by delegate() val test2: String by delegate() }