Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ec80c21fd118667fdb2e851da7eea5d76d95eb52
/
.
/
idea
/
testData
/
intentions
/
loopToCallChain
/
flatMap
/
flatMapTo.kt.after
blob: 939b0c6fb59bd2bb89b63a48e8ca37965c90add7 [
file
] [
log
] [
blame
]
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'flatMapTo(){}'"
// INTENTION_TEXT_2: "Replace with 'asSequence().flatMapTo(){}'"
fun foo
(
list
:
List
<
String
>,
target
:
MutableList
<
String
>)
{
<caret>
list
.
flatMapTo
(
target
)
{
it
.
lines
()
}
}