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