Files
kotlin-fork/compiler/testData/diagnostics/tests/generics/projectionsScope/inValueParameter.fir.kt
T

10 lines
150 B
Kotlin
Vendored

// !WITH_NEW_INFERENCE
interface A<T>
interface B<E> {
fun foo(x: A<in E>)
}
fun foo(x: B<in CharSequence>, y: A<CharSequence>) {
x.foo(y)
}