[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
// !CHECK_TYPE
|
||||
|
||||
class A<T> {
|
||||
fun foo(f: (T) -> Unit) {}
|
||||
}
|
||||
|
||||
fun test(a: A<out Number>, b: A<in Number>) {
|
||||
a.foo {
|
||||
it checkType { _<Number>() }
|
||||
}
|
||||
|
||||
b.foo {
|
||||
it checkType { <!INAPPLICABLE_CANDIDATE!>_<!><Any?>() }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user