DeprecatedSymbolUsageFix: fixed for incorrect annotation arguments
This commit is contained in:
@@ -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()
|
||||
}
|
||||
Reference in New Issue
Block a user