[NI] Fix testdata after introducing DefinitelyNotNull types
This commit is contained in:
@@ -9,6 +9,6 @@ import java.util.stream.Stream
|
||||
fun test(a: Stream<String>) {
|
||||
a.collect(Collectors.toList()) checkType { _<MutableList<String>>() }
|
||||
// actually the inferred type is platform
|
||||
a.collect(Collectors.toList()) checkType { <!NI;DEBUG_INFO_UNRESOLVED_WITH_TARGET, NI;UNRESOLVED_REFERENCE_WRONG_RECEIVER!>_<!><List<String?>>() }
|
||||
a.collect(Collectors.toList()) checkType { _<List<String?>>() }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user