Sign in
android
/
platform
/
external
/
jetbrains
/
kotlin
/
studio-master-dev
/
.
/
idea
/
testData
/
quickfix
/
deprecatedSymbolUsage
/
implicitCompanionObjectThis.kt.after
blob: e00561056d343e50733a2a0558eb55e3e853d02e [
file
] [
log
] [
blame
]
// "Replace with 'newFun(this)'" "true"
open
class
C
{
@Deprecated
(
""
,
ReplaceWith
(
"newFun(this)"
))
fun oldFun
(){}
}
fun newFun
(
c
:
C
){}
class
X
{
companion
object
:
C
()
{
}
fun foo
()
{
<caret>
newFun
(
Companion
)
}
}