// FIR_IDENTICAL // SKIP_TXT // !DIAGNOSTICS: -UNUSED_PARAMETER import kotlin.reflect.KProperty1 import kotlin.reflect.KFunction1 fun has(property: KFunction1) = null fun has(property: KProperty1) = null fun toInt(s: String) = 10 object A { fun main() { has(::toInt) // throwing an exception here } }