[FIR] Fix tests (ARGUMENT_TYPE_MISMATCH instead of INCOMPATIBLE_CANDIDATE)
This commit is contained in:
committed by
TeamCityServer
parent
4ffab5fe5a
commit
ad9b962536
+1
-1
@@ -3,7 +3,7 @@
|
||||
fun indexOfMax(a: IntArray): Int? {
|
||||
var maxI: Int? = 0
|
||||
a.forEachIndexed { i, value ->
|
||||
if (value >= <!INAPPLICABLE_CANDIDATE!>a[maxI]<!>) {
|
||||
if (value >= a[<!ARGUMENT_TYPE_MISMATCH!>maxI<!>]) {
|
||||
maxI = i
|
||||
}
|
||||
else if (value < 0) {
|
||||
|
||||
Reference in New Issue
Block a user