[FIR] Fix tests (ARGUMENT_TYPE_MISMATCH instead of INCOMPATIBLE_CANDIDATE)
This commit is contained in:
committed by
TeamCityServer
parent
4ffab5fe5a
commit
ad9b962536
+1
-1
@@ -11,6 +11,6 @@ fun elvis(x: Number?): Int {
|
||||
|
||||
fun elvisWithRHSTypeInfo(x: Number?): Any? {
|
||||
val result = x ?: x!!
|
||||
<!INAPPLICABLE_CANDIDATE!>checkSubtype<!><Int?>(x)
|
||||
checkSubtype<Int?>(<!ARGUMENT_TYPE_MISMATCH!>x<!>)
|
||||
return result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user