Add alphabetical sorting diagnostics with same ranges

This commit is contained in:
victor.petukhov
2018-12-28 14:23:55 +03:00
parent fad59e200c
commit 46bd5ba107
142 changed files with 251 additions and 251 deletions
@@ -3,7 +3,7 @@ fun bar(x: Int): Int = x + 1
fun foo() {
val x: Int? = null
while (x == null) {
bar(<!TYPE_MISMATCH, DEBUG_INFO_CONSTANT!>x<!>)
bar(<!DEBUG_INFO_CONSTANT, TYPE_MISMATCH!>x<!>)
}
bar(<!DEBUG_INFO_SMARTCAST!>x<!>)
@@ -11,11 +11,11 @@ fun foo() {
while (y != null) {
bar(<!DEBUG_INFO_SMARTCAST!>y<!>)
}
bar(<!TYPE_MISMATCH, DEBUG_INFO_CONSTANT!>y<!>)
bar(<!DEBUG_INFO_CONSTANT, TYPE_MISMATCH!>y<!>)
val z: Int? = null
while (z == null) {
bar(<!TYPE_MISMATCH, DEBUG_INFO_CONSTANT!>z<!>)
bar(<!DEBUG_INFO_CONSTANT, TYPE_MISMATCH!>z<!>)
break
}
bar(<!TYPE_MISMATCH!>z<!>)