1fbd8f3f53
#KT-8877 Fixed
17 lines
266 B
Kotlin
Vendored
17 lines
266 B
Kotlin
Vendored
fun test(x: List<Int>): Int {
|
|
x myMap {
|
|
return@myMap
|
|
}
|
|
|
|
return 0
|
|
}
|
|
|
|
fun myMap(x: List<Int>): Int {
|
|
x myMap {
|
|
return<!LABEL_NAME_CLASH!>@myMap<!>
|
|
}
|
|
|
|
return 0
|
|
}
|
|
|
|
infix fun List<Int>.myMap(<!UNUSED_PARAMETER!>x<!>: () -> Unit) {} |