2f3293f99e
A new resolution diagnostic UnsuccessfulCallableReferenceAtom is introduced that is used in EagerResolveOfCallableReferences. No diagnostic is reported on unresolved calls with this diagnostic because #KT-59856
12 lines
324 B
Kotlin
Vendored
12 lines
324 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
import kotlin.reflect.KProperty1
|
|
|
|
class TestClass(var prop: Int)
|
|
open class OtherClass
|
|
fun OtherClass.test(prop: KProperty1<TestClass, Int>): Unit = throw Exception()
|
|
class OtherClass2: OtherClass() {
|
|
val result = test(TestClass::<!UNRESOLVED_REFERENCE!>result<!>)
|
|
}
|