Fix tests in DiagnosticsTestWithStdLibGenerated with NI
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
// See also KT-10386
|
||||
// !WITH_NEW_INFERENCE
|
||||
// See also KT-10386
|
||||
interface A
|
||||
class B : A
|
||||
fun foo1(list: List<A>, arg: B?): Boolean {
|
||||
// Type mismatch
|
||||
return arg <!TYPE_INFERENCE_ONLY_INPUT_TYPES!>in<!> list // resolved to extension
|
||||
return arg <!OI;TYPE_INFERENCE_ONLY_INPUT_TYPES!>in<!> list // resolved to extension
|
||||
}
|
||||
fun foo2(list: List<A>, arg: B?): Boolean {
|
||||
// FAKE: no cast needed
|
||||
|
||||
Reference in New Issue
Block a user