Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
quickfix
/
deprecatedSymbolUsage
/
argumentSideEffects
/
complexExpressionUsedTwice3Runtime.kt.after
blob: 5ed11fd828d329ab62c7aafb842be632f3678cb8 [
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
val p
=
v
++
return
newFun
(
p
,
p
)
}