[NI] Add checking @NotNull parameters for candidates
This commit is contained in:
+1
-2
@@ -5,6 +5,5 @@ interface A<T : A<T?>?> {
|
||||
fun foo(): T?
|
||||
}
|
||||
fun testA(a: A<*>) {
|
||||
// in new inference here we have A<A<A<*>>>
|
||||
a.foo() checkType { <!NI;DEBUG_INFO_UNRESOLVED_WITH_TARGET, NI;UNRESOLVED_REFERENCE_WRONG_RECEIVER!>_<!><A<*>?>() }
|
||||
a.foo() checkType { _<A<*>?>() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user