Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
quickfix
/
deprecatedSymbolUsage
/
argumentSideEffects
/
simpleExpressionUsedTwice.kt.after
blob: e2ccdd948112c2a14f1f06240123a69cafc21c73 [
file
] [
log
] [
blame
]
// "Replace with 'newFun(p, p)'" "true"
@Deprecated
(
""
,
ReplaceWith
(
"newFun(p, p)"
))
fun oldFun
(
p
:
Int
)
{
newFun
(
p
,
p
)
}
fun newFun
(
p1
:
Int
,
p2
:
Int
){}
fun foo
(
c
:
C
)
{
<caret>
newFun
(
c
.
bar
,
c
.
bar
)
}
class
C
{
var
bar
=
0
}