b7e5d9faae
Disable annotation rendering in default type and descriptor renderers. Preserve annotations in Android and Serialization plugins. Update error texts in ide tests. Nullability annotations in Java descriptors are rendered with context-dependent renderer. #KT-20258 Fixed
13 lines
312 B
Kotlin
Vendored
13 lines
312 B
Kotlin
Vendored
// "class org.jetbrains.kotlin.idea.quickfix.replaceWith.DeprecatedSymbolUsageFix" "false"
|
|
// ERROR: Too many arguments for public fun oldFun(): Unit defined in root package in file callWithError.kt
|
|
|
|
@Deprecated("", ReplaceWith("newFun()"))
|
|
fun oldFun() {
|
|
}
|
|
|
|
fun newFun(){}
|
|
|
|
fun foo() {
|
|
<caret>oldFun(123)
|
|
}
|