[FIR] Fix tests (ARGUMENT_TYPE_MISMATCH instead of INCOMPATIBLE_CANDIDATE)
This commit is contained in:
committed by
TeamCityServer
parent
4ffab5fe5a
commit
ad9b962536
+1
-1
@@ -7,7 +7,7 @@ interface A<T>
|
||||
fun <T> infer(a: A<T>) : T {}
|
||||
|
||||
fun test(nothing: Nothing?) {
|
||||
val i = <!INAPPLICABLE_CANDIDATE!>infer<!>(nothing)
|
||||
val i = infer(<!ARGUMENT_TYPE_MISMATCH!>nothing<!>)
|
||||
}
|
||||
|
||||
fun sum(a : IntArray) : Int {
|
||||
|
||||
Reference in New Issue
Block a user