Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ec80c21fd118667fdb2e851da7eea5d76d95eb52
/
.
/
idea
/
testData
/
quickfix
/
deprecatedSymbolUsage
/
vararg
/
addedPositionalArgumentAfterRuntime.kt
blob: 92147ef00e10f2d2cf3f0c5d77a198d97b779a58 [
file
] [
log
] [
blame
]
// "Replace with 'newFun(*p, 1)'" "true"
// WITH_RUNTIME
@Deprecated
(
""
,
ReplaceWith
(
"newFun(*p, 1)"
))
fun oldFun
(
vararg p
:
Int
){
newFun
(*
p
,
1
)
}
fun newFun
(
vararg p
:
Int
){}
fun foo
()
{
<caret>
oldFun
(
1
,
2
,
3
)
}