KT-9928 Replacement not offered for a usage of symbol deprecated with DeprecationLevel.ERROR

#KT-9928 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-11-10 22:19:40 +03:00
parent 75f5cec190
commit de11d571ef
6 changed files with 28 additions and 1 deletions
@@ -0,0 +1,9 @@
// "Replace with 'b()'" "true"
@Deprecated("b!", ReplaceWith("b()"), DeprecationLevel.ERROR)
fun a() {}
fun b() {}
fun usage() {
<caret>a()
}
@@ -0,0 +1,9 @@
// "Replace with 'b()'" "true"
@Deprecated("b!", ReplaceWith("b()"), DeprecationLevel.ERROR)
fun a() {}
fun b() {}
fun usage() {
<caret>b()
}