3d8d92c7d3
- test data files renamed from *.jet to *.kt
15 lines
208 B
Kotlin
Vendored
15 lines
208 B
Kotlin
Vendored
// 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())
|
|
}
|