Add diagnostics to test data from NI
This commit is contained in:
+2
-2
@@ -5,6 +5,6 @@ interface A<out K> {
|
||||
}
|
||||
|
||||
fun test(a: A<*>) {
|
||||
a.foo(null)
|
||||
a.foo(Any())
|
||||
a.foo(<!NI;NULL_FOR_NONNULL_TYPE!>null<!>)
|
||||
a.foo(<!NI;TYPE_MISMATCH!>Any()<!>)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user