// Issue: KT-41729 import kotlin.reflect.KProperty class Foo { operator fun getValue(thisRef: Any?, property: KProperty<*>) = 1 } fun main(x: Int) { val f = Foo() val a: Int get() = f.getValue(null, ::x) // no exception after fix print(a) }