10 lines
167 B
Kotlin
Vendored
10 lines
167 B
Kotlin
Vendored
private fun String.foo(): List<String> = emptyList()
|
|
|
|
fun test(s: String) {
|
|
s.foo().flatMap { m ->
|
|
m.foo().map { e ->
|
|
e to m
|
|
}
|
|
}
|
|
}
|