Files
kotlin/idea/testData/quickfix/deprecatedSymbolUsage/replaceCallWithArgument.kt
2017-05-26 16:37:35 +03:00

8 lines
135 B
Kotlin
Vendored

// "Replace with 'p'" "true"
@Deprecated("", ReplaceWith("p"))
fun oldFun(p: Int): Int = p
fun foo() {
val v = <caret>oldFun(0)
}