Files
kotlin-fork/compiler/testData/diagnostics/tests/regressions/kt688.jet
T
Stepan Koltsov 07ff53d456 add trailing newlines to test files
otherwise I have to rollback dozens of files after using sed that follows conventions
2012-03-12 22:54:14 +04:00

15 lines
208 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: (T)->T, y: T): T {
return x(x(y))
}
val x: B = a({it.b()}, B())
}