Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/incorrectArgs.kt
T

14 lines
304 B
Kotlin
Vendored

// "class org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix" "false"
// ERROR: The integer literal does not conform to the expected type String
@Deprecated("", ReplaceWith("newFun()", imports = 123))
fun oldFun() {
newFun()
}
fun newFun(){}
fun foo() {
<caret>oldFun()
}