Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
intentions
/
loopToCallChain
/
toCollection
/
toSet.kt.after
blob: b70b77a05962423fb77130b1785eb7d22bb850b8 [
file
] [
log
] [
blame
]
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'toSet()'"
// IS_APPLICABLE_2: false
import
java
.
util
.
HashSet
fun foo
(
map
:
Map
<
Int
,
String
>):
Collection
<
String
>
{
val
<caret>
result
=
map
.
values
.
toSet
()
return
result
}