Add alphabetical sorting diagnostics with same ranges
This commit is contained in:
@@ -17,14 +17,14 @@ fun foo() {
|
||||
if (<!SENSELESS_COMPARISON!>x == null<!>) bar(x) else bar(x)
|
||||
bar(bar(x))
|
||||
} else if (<!SENSELESS_COMPARISON!><!DEBUG_INFO_CONSTANT!>x<!> == null<!>) {
|
||||
bar(<!TYPE_MISMATCH, DEBUG_INFO_CONSTANT!>x<!>)
|
||||
bar(<!DEBUG_INFO_CONSTANT, TYPE_MISMATCH!>x<!>)
|
||||
if (<!SENSELESS_COMPARISON!><!DEBUG_INFO_CONSTANT!>x<!> != null<!>) {
|
||||
bar(x)
|
||||
if (<!SENSELESS_COMPARISON!>x == null<!>) bar(x)
|
||||
if (<!SENSELESS_COMPARISON!>x == null<!>) bar(x) else bar(x)
|
||||
bar(bar(x) + bar(x))
|
||||
} else if (<!SENSELESS_COMPARISON!><!DEBUG_INFO_CONSTANT!>x<!> == null<!>) {
|
||||
bar(<!TYPE_MISMATCH, DEBUG_INFO_CONSTANT!>x<!>)
|
||||
bar(<!DEBUG_INFO_CONSTANT, TYPE_MISMATCH!>x<!>)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user