FIR: instantiate type argument to captured type if needed
This commit is contained in:
committed by
TeamCityServer
parent
bcf6582af7
commit
cd99c35649
-8
@@ -1,8 +0,0 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
class A<F>
|
||||
|
||||
inline fun <reified T> foo(x: A<T>) {}
|
||||
|
||||
fun test(x: A<out CharSequence>) {
|
||||
foo(x)
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
class A<F>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user