// WITH_RUNTIME // INTENTION_TEXT: "Replace with 'toMutableSet()'" // IS_APPLICABLE_2: false fun foo(map: Map): MutableCollection { val result = hashSetOf() for (s in map.values) { result.add(s) } return result }