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