[FIR] Fix tests (ARGUMENT_TYPE_MISMATCH instead of INCOMPATIBLE_CANDIDATE)
This commit is contained in:
committed by
TeamCityServer
parent
4ffab5fe5a
commit
ad9b962536
Vendored
+1
-1
@@ -4,7 +4,7 @@ interface A<T>
|
||||
interface B<T> : A<A<T>>
|
||||
|
||||
fun foo(x : B<*>) {
|
||||
<!INAPPLICABLE_CANDIDATE!>bar1<!>(x) // this should not be valid
|
||||
bar1(<!ARGUMENT_TYPE_MISMATCH!>x<!>) // this should not be valid
|
||||
bar2(x)
|
||||
bar3(x)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user