Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ec80c21fd118667fdb2e851da7eea5d76d95eb52
/
.
/
idea
/
testData
/
refactoring
/
introduceParameter
/
functionMultipleUsagesSingleReplace.kt
blob: 560a2084135bc31d9bff8f4fcc28308745a5e7dc [
file
] [
log
] [
blame
]
// SINGLE_REPLACE
fun foo
(
a
:
Int
,
s
:
String
):
Int
{
val t
=
(
a
+
1
)
*
2
return
<selection>
a
+
1
</
selection
>
-
t
}
fun test
()
{
foo
(
1
,
"2"
)
}