Add alphabetical sorting diagnostics with same ranges
This commit is contained in:
@@ -4,7 +4,7 @@ inline fun inlineFunWithInvoke(s: (p: Int) -> Unit) {
|
||||
(s)(11)
|
||||
(s).invoke(11)
|
||||
(s) <!INFIX_MODIFIER_REQUIRED!>invoke<!> 11
|
||||
(<!USAGE_IS_NOT_INLINABLE, UNUSED_EXPRESSION!>s<!>)
|
||||
(<!UNUSED_EXPRESSION, USAGE_IS_NOT_INLINABLE!>s<!>)
|
||||
}
|
||||
|
||||
<!NOTHING_TO_INLINE!>inline<!> fun Function1<Int, Unit>.inlineExt() {
|
||||
@@ -18,7 +18,7 @@ inline fun inlineFunWithInvoke2(s: (p: Int) -> Unit) {
|
||||
(((s)))(11)
|
||||
(((s))).invoke(11)
|
||||
(((s))) <!INFIX_MODIFIER_REQUIRED!>invoke<!> 11
|
||||
(((<!USAGE_IS_NOT_INLINABLE, UNUSED_EXPRESSION!>s<!>)))
|
||||
(((<!UNUSED_EXPRESSION, USAGE_IS_NOT_INLINABLE!>s<!>)))
|
||||
}
|
||||
|
||||
inline fun propagation(s: (p: Int) -> Unit) {
|
||||
|
||||
+3
-3
@@ -22,8 +22,8 @@ inline fun inlineFunWithInvoke(s: (p: Int) -> Unit, ext: Int.(p: Int) -> Unit) {
|
||||
11.ext(11)
|
||||
11 <!INFIX_MODIFIER_REQUIRED!>ext<!> 11
|
||||
|
||||
<!USAGE_IS_NOT_INLINABLE, UNUSED_EXPRESSION!>s<!>
|
||||
<!USAGE_IS_NOT_INLINABLE, UNUSED_EXPRESSION!>ext<!>
|
||||
<!UNUSED_EXPRESSION, USAGE_IS_NOT_INLINABLE!>s<!>
|
||||
<!UNUSED_EXPRESSION, USAGE_IS_NOT_INLINABLE!>ext<!>
|
||||
11
|
||||
}
|
||||
}
|
||||
@@ -38,7 +38,7 @@ inline fun inlineFunWithInvokeNonInline(noinline s: (p: Int) -> Unit, ext: Int.(
|
||||
11 <!INFIX_MODIFIER_REQUIRED!>ext<!> 11
|
||||
|
||||
<!UNUSED_EXPRESSION!>s<!>
|
||||
<!USAGE_IS_NOT_INLINABLE, UNUSED_EXPRESSION!>ext<!>
|
||||
<!UNUSED_EXPRESSION, USAGE_IS_NOT_INLINABLE!>ext<!>
|
||||
|
||||
11
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user