Files
kotlin-fork/compiler/testData/codegen/box/ir/anonymousObjectInGenericFun.kt
T

8 lines
131 B
Kotlin
Vendored

fun <T> test(): String {
val x = object {
fun <S> foo() = "OK"
}
return x.foo<Any>()
}
fun box() = test<Int>()