Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ba045e44fbc13a4a8bcfa03689115fd0a25366a9
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
whenStringOptimization
/
denseHashCode.kt
blob: 6323c19699bcd5bbd185833da1b994a5d3b71caf [
file
] [
log
] [
blame
]
fun foo
()
:
Int
{
val x
:
String
=
"dsa"
when
(
x
)
{
"a"
->
return
1
"b"
->
return
1
"c"
->
return
1
"d"
->
return
1
"e"
->
return
1
"f"
->
return
1
else
->
return
-
1
}
}
// 1 TABLESWITCH