Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/vararg/byteArrayRuntime.kt.after
T
2015-05-27 16:15:48 +03:00

13 lines
207 B
Plaintext
Vendored

// "Replace with 'newFun(p)'" "true"
@deprecated("", ReplaceWith("newFun(p)"))
fun oldFun(vararg p: Byte){
newFun(p)
}
fun newFun(p: ByteArray){}
fun foo() {
<caret>newFun(byteArrayOf(1, 2, 3))
}