Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
946dff8bda9fd326d2b6c18f10c7545ebed12ae1
/
.
/
compiler
/
testData
/
codegen
/
box
/
arrays
/
hashMap.kt
blob: 9c04d4911d69fa4d7008f7d8124c05d86ecc4c33 [
file
]
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"
}