FIR: Support FirComparisonOperator in body transformers and DFA

^KT-31163 In Progress
This commit is contained in:
Denis Zharkov
2020-02-26 16:45:57 +03:00
parent c3aed433ae
commit 434444cd69
31 changed files with 191 additions and 149 deletions
@@ -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 <!AMBIGUITY!>>=<!> <!INAPPLICABLE_CANDIDATE!>a[maxI]<!>) {
maxI = i
}
else if (value < 0) {
@@ -11,4 +11,4 @@ fun indexOfMax(a: IntArray): Int? {
}
}
return maxI
}
}