Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/callWithError.kt
T
Denis Zharkov 4850fd10f0 Regenerate test data containing rendered descriptors
Introduced '@' after each annotation
2015-09-18 10:14:39 +03:00

13 lines
313 B
Kotlin
Vendored

// "class org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix" "false"
// ERROR: Too many arguments for @kotlin.Deprecated public fun oldFun(): kotlin.Unit defined in root package
@Deprecated("", ReplaceWith("newFun()"))
fun oldFun() {
}
fun newFun(){}
fun foo() {
<caret>oldFun(123)
}