Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/kt46437.fir.kt
T
Kirill Rakhman d91000e39c [FIR] Report INAPPLICABLE_CANDIDATE or more specific diagnostic for callable references
... instead of just UNRESOLVED_REFERENCE when something went wrong
during resolution.

#KT-59401 related
2023-11-08 15:45:48 +00:00

8 lines
131 B
Kotlin
Vendored

fun box(): String {
if (true) X::<!INVISIBLE_REFERENCE!>y<!> else null
return "OK"
}
object X {
private val y = null
}