DeprecatedSymbolUsageFix: initial implementation
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.DeprecatedSymbolUsageFix" "false"
|
||||
// ERROR: Too many arguments for kotlin.deprecated internal fun oldFun(): kotlin.Unit defined in root package
|
||||
|
||||
@deprecated("", ReplaceWith("newFun()"))
|
||||
fun oldFun() {
|
||||
}
|
||||
|
||||
fun newFun(){}
|
||||
|
||||
fun foo() {
|
||||
<caret>oldFun(123)
|
||||
}
|
||||
Reference in New Issue
Block a user