Files
kotlin-fork/compiler/testData/diagnostics/tests/InvokeAndRecursiveResolve.fir.kt
T

19 lines
242 B
Kotlin
Vendored

// !WITH_NEW_INFERENCE
// NI_EXPECTED_FILE
fun test() = 3
fun <T> proxy(t: T) = t
class A {
val test = test()
}
class B {
val test = proxy(test())
}
class C {
val bar = test()
val test = <!UNRESOLVED_REFERENCE!>bar<!>()
}