Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
quickfix
/
deprecatedSymbolUsage
/
changeThis1.kt
blob: 361a6f26eccfeaaeae17e42b8018e838440a0d39 [
file
] [
log
] [
blame
]
// "Replace with 's.newFun(this)'" "true"
class
X
{
@Deprecated
(
""
,
ReplaceWith
(
"s.newFun(this)"
))
fun oldFun
(
s
:
String
){}
}
fun
String
.
newFun
(
x
:
X
){}
fun foo
(
x
:
X
)
{
x
.<
caret
>
oldFun
(
"a"
)
}