Fix completion order & presentation wrt to DeprecatedSinceKotlin

This commit is contained in:
Mikhail Zarechenskiy
2020-06-19 02:18:14 +03:00
parent bcaa635a4e
commit beca7fca30
6 changed files with 56 additions and 15 deletions
@@ -0,0 +1,19 @@
fun foo1() {}
@Suppress("DEPRECATED_SINCE_KOTLIN_OUTSIDE_KOTLIN_SUBPACKAGE")
@Deprecated("")
@DeprecatedSinceKotlin(warningSince = "1.0")
fun foo2() {}
@Suppress("DEPRECATED_SINCE_KOTLIN_OUTSIDE_KOTLIN_SUBPACKAGE")
@Deprecated("")
@DeprecatedSinceKotlin(warningSince = "999.999")
fun foo3() {}
fun foo4() {}
fun test() {
foo<caret>
}
// ORDER: foo1, foo3, foo4, foo2