Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
quickfix
/
deprecatedSymbolUsage
/
argumentSideEffects
/
complexExpressionUsedTwice3Runtime.kt
blob: 13f63f73a28d961a19fa2a3e0280a313986782a1 [
file
] [
log
] [
blame
]
// "Replace with 'newFun(p, p)'" "true"
// WITH_RUNTIME
@Deprecated
(
""
,
ReplaceWith
(
"newFun(p, p)"
))
fun oldFun
(
p
:
Int
):
Int
{
return
newFun
(
p
,
p
)
}
fun newFun
(
p1
:
Int
,
p2
:
Int
):
Int
=
0
fun foo
():
Int
{
var
v
=
0
return
<caret>
oldFun
(
v
++)
}