Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/callWithError.kt
T
2015-05-27 16:15:45 +03:00

13 lines
302 B
Kotlin
Vendored

// "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)
}