Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
quickfix
/
deprecatedSymbolUsage
/
argumentSideEffects
/
stringLiteralUsedTwice.kt.after
blob: 1706ef0637f14bf671e70c0d47d371d99e16d0a9 [
file
] [
log
] [
blame
]
// "Replace with 'newFun(p, p)'" "true"
@Deprecated
(
""
,
ReplaceWith
(
"newFun(p, p)"
))
fun oldFun
(
p
:
String
)
{
newFun
(
p
,
p
)
}
fun newFun
(
p1
:
String
,
p2
:
String
){}
fun foo
()
{
newFun
(
"x"
,
"x"
)
}