// WITH_RUNTIME fun bar(s: String) = s.length val x = listOf("Jack", "Tom").mapTo(kotlin.collections.hashSetOf(), ::bar)