Intention to simplify for using destructing declaration
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// IS_APPLICABLE: false
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val map = hashMapOf(1 to 1)
|
||||
for (<caret>(key, value) in map) {
|
||||
println(key)
|
||||
println(value)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user