Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
e74282753ae0fda39015b2d1cc9c31db24bb800c
/
.
/
idea
/
testData
/
quickfix
/
deprecatedSymbolUsage
/
argumentSideEffects
/
complexExpressionUsedTwice3Runtime.kt
blob: 4d8d04718d4aa5a3dc4eaaf0203ebdc08b7468c0 [
file
]
// "Replace with 'newFun(p, p)'" "true"
@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
++)
}