Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/incorrectArgs.kt
T
2015-09-04 18:19:31 +03:00

14 lines
310 B
Kotlin
Vendored

// "class org.jetbrains.kotlin.idea.quickfix.replaceWith.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()
}