Quick-fix "use spread operator": make working with mapOf #KT-14556 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
a7110a1517
commit
5204c73bec
@@ -0,0 +1,6 @@
|
||||
// "Change 'pairs' to '*pairs'" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun myMapOf(vararg pairs: Pair<String,String>) {
|
||||
val myMap = mapOf(*pairs)
|
||||
}
|
||||
Reference in New Issue
Block a user