Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
a6417fc509e4365c1ed6addd914701510995cdb2
/
.
/
compiler
/
testData
/
codegen
/
box
/
arrays
/
hashMap.kt
blob: 38316baee5e8036be706331f2166fdcf53192e0a [
file
] [
log
] [
blame
]
// KJS_WITH_FULL_RUNTIME
operator
fun
HashMap
<
String
,
Int
?>.
set
(
index
:
String
,
elem
:
Int
?)
{
this
.
put
(
index
,
elem
)
}
fun box
():
String
{
val s
=
HashMap
<
String
,
Int
?>()
s
[
"239"
]
=
239
return
if
(
s
[
"239"
]
==
239
)
"OK"
else
"Fail"
}