Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
e74282753ae0fda39015b2d1cc9c31db24bb800c
/
.
/
idea
/
testData
/
quickfix
/
deprecatedSymbolUsage
/
argumentSideEffects
/
complexExpressionUsedTwice3Runtime.kt.after
blob: 67c708a6eeba8ec9214eed54ad555ae61dd7d04c [
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
v
++.
let
{
newFun
(
it
,
it
)
}
}