Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/argumentSideEffects/withLiteralAndReference.kt
T
2019-07-10 15:10:51 +03:00

9 lines
198 B
Kotlin
Vendored

// "Replace with 'bar(y)'" "true"
@Deprecated("", replaceWith = ReplaceWith("bar(y)"))
fun foo(x: Any, y: Any, z: Any) {
}
fun bar(y: Any) {}
fun main() {
<caret>foo(4::class, 42::dec, ::bar)
}