DeprecatedSymbolUsageFix: fixed for incorrect annotation arguments

This commit is contained in:
Valentin Kipyatkov
2015-05-29 16:36:34 +03:00
parent f1d8838bbd
commit 134621ce77
3 changed files with 24 additions and 4 deletions
@@ -0,0 +1,13 @@
// "class org.jetbrains.kotlin.idea.quickfix.DeprecatedSymbolUsageFix" "false"
// ERROR: An integer literal does not conform to the expected type kotlin.String
@deprecated("", ReplaceWith("newFun()", imports = 123))
fun oldFun() {
newFun()
}
fun newFun(){}
fun foo() {
<caret>oldFun()
}