Add alphabetical sorting diagnostics with same ranges
This commit is contained in:
+2
-2
@@ -6,6 +6,6 @@ annotation class Anno1(val s: String)
|
||||
annotation class Anno2 @SinceKotlin("1.1") constructor()
|
||||
|
||||
|
||||
@<!UNRESOLVED_REFERENCE, API_NOT_AVAILABLE, DEBUG_INFO_UNRESOLVED_WITH_TARGET!>Anno1<!>("")
|
||||
@<!UNRESOLVED_REFERENCE, DEBUG_INFO_UNRESOLVED_WITH_TARGET!>Anno2<!>
|
||||
@<!API_NOT_AVAILABLE, DEBUG_INFO_UNRESOLVED_WITH_TARGET, UNRESOLVED_REFERENCE!>Anno1<!>("")
|
||||
@<!DEBUG_INFO_UNRESOLVED_WITH_TARGET, UNRESOLVED_REFERENCE!>Anno2<!>
|
||||
fun t1() {}
|
||||
|
||||
Vendored
+1
-1
@@ -14,7 +14,7 @@ class Quux @SinceKotlin("1.0") constructor()
|
||||
fun t1(): <!API_NOT_AVAILABLE!>Foo<!> = <!UNRESOLVED_REFERENCE!>Foo<!>()
|
||||
|
||||
// TODO: do not report API_NOT_AVAILABLE twice
|
||||
fun t2() = object : <!UNRESOLVED_REFERENCE, API_NOT_AVAILABLE, API_NOT_AVAILABLE, DEBUG_INFO_UNRESOLVED_WITH_TARGET!>Foo<!>() {}
|
||||
fun t2() = object : <!API_NOT_AVAILABLE, API_NOT_AVAILABLE, DEBUG_INFO_UNRESOLVED_WITH_TARGET, UNRESOLVED_REFERENCE!>Foo<!>() {}
|
||||
|
||||
fun t3(): Bar? = <!UNRESOLVED_REFERENCE!>Bar<!>()
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -15,6 +15,6 @@ typealias C2_Alias = C2
|
||||
val test1 = <!UNRESOLVED_REFERENCE!>C1_Alias<!>()
|
||||
val test2 = C2_Alias(<!NO_VALUE_FOR_PARAMETER!>)<!>
|
||||
|
||||
class Test3 : <!UNRESOLVED_REFERENCE, API_NOT_AVAILABLE, DEBUG_INFO_UNRESOLVED_WITH_TARGET!>C1_Alias<!>()
|
||||
class Test3 : <!API_NOT_AVAILABLE, DEBUG_INFO_UNRESOLVED_WITH_TARGET, UNRESOLVED_REFERENCE!>C1_Alias<!>()
|
||||
|
||||
class Test4 : C2_Alias(<!NO_VALUE_FOR_PARAMETER!>)<!>
|
||||
Reference in New Issue
Block a user