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