Fix parameter info presentation with regard to DeprecatedSinceKotlin

This commit is contained in:
Mikhail Zarechenskiy
2020-06-19 01:27:53 +03:00
parent 9be8c5b527
commit bcaa635a4e
5 changed files with 42 additions and 4 deletions
@@ -0,0 +1,11 @@
@Suppress("DEPRECATED_SINCE_KOTLIN_OUTSIDE_KOTLIN_SUBPACKAGE")
@Deprecated("")
@DeprecatedSinceKotlin(warningSince = "1.0")
fun f(x: Int) {}
fun d(x: Int) {
f(<caret>1)
}
/*
Text: (<highlight>x: Int</highlight>), Disabled: false, Strikeout: true, Green: true
*/
@@ -0,0 +1,11 @@
@Suppress("DEPRECATED_SINCE_KOTLIN_OUTSIDE_KOTLIN_SUBPACKAGE")
@Deprecated("")
@DeprecatedSinceKotlin(warningSince = "1.9")
fun f(x: Int) {}
fun d(x: Int) {
f(<caret>1)
}
/*
Text: (<highlight>x: Int</highlight>), Disabled: false, Strikeout: false, Green: true
*/