Files
kotlin-fork/compiler/testData/diagnostics/tests/regressions/kt688.jet
T

14 lines
209 B
Plaintext

// KT-668 Failed to resolve generic parameter
open class A()
open class B() : A() {
fun b(): B = B()
}
class C() {
fun a<T>(x: fun(T):T, y: T): T {
return x(x(y))
}
val x: B = a({it.b()}, B())
}