KT-9380 Handle malformed ReplaceWith annotations gracefully

#KT-9380 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-10-02 18:55:31 +03:00
parent 45c3d74b42
commit 2ae13ed76b
3 changed files with 16 additions and 1 deletions
@@ -0,0 +1,9 @@
// "class org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix" "false"
@Deprecated("", ReplaceWith("order.safeAddItem(...)"))
fun oldFun() {
}
fun foo() {
<caret>oldFun()
}