Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
ir
/
irText
/
stubs
/
builtinMap.kt
blob: cf691676eaba69e32e675397c6d4020f8735f7dc [
file
]
// WITH_STDLIB
// FULL_JDK
// TARGET_BACKEND: JVM_IR
fun
<
K1
,
V1
>
Map
<
out
K1
,
V1
>.
plus
(
pair
:
Pair
<
K1
,
V1
>):
Map
<
K1
,
V1
>
=
if
(
this
.
isEmpty
())
mapOf
(
pair
)
else
LinkedHashMap
(
this
).
apply
{
put
(
pair
.
first
,
pair
.
second
)
}