Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ec80c21fd118667fdb2e851da7eea5d76d95eb52
/
.
/
idea
/
testData
/
quickfix
/
deprecatedSymbolUsage
/
vararg
/
vararg6Runtime.kt
blob: 00100fae64008ad1586b4abbf5bd673e1f5173ff [
file
] [
log
] [
blame
]
// "Replace with 'newFun(p1, p2)'" "true"
// WITH_RUNTIME
@Deprecated
(
""
,
ReplaceWith
(
"newFun(p1, p2)"
))
fun oldFun
(
p1
:
String
,
vararg p2
:
Int
)
{
newFun
(
p1
,
p2
)
}
fun newFun
(
p1
:
String
,
p2
:
IntArray
){}
fun foo
()
{
<caret>
oldFun
(
"a"
,
1
,
2
,
3
)
}