5ea6f20192
As all these issues aren't reproducible in K2, we may count them as fixed. Related to KT-53478 #KT-66229 Fixed #KT-66243 Fixed #KT-66272 Fixed
25 lines
352 B
Kotlin
Vendored
25 lines
352 B
Kotlin
Vendored
// WITH_STDLIB
|
|
// ISSUE: KT-66229
|
|
// IGNORE_BACKEND_K1: ANY
|
|
// Reason: Could not load module <Error module>
|
|
|
|
fun foo() {
|
|
buildMap {
|
|
for (v in this) {
|
|
put(1, 1)
|
|
}
|
|
}
|
|
}
|
|
|
|
fun bar() {
|
|
buildMap {
|
|
mapValues { (key: Int, value: String) -> "1" }
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
foo()
|
|
bar()
|
|
return "OK"
|
|
}
|