Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ba045e44fbc13a4a8bcfa03689115fd0a25366a9
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
whenStringOptimization
/
nonInlinedConst.kt
blob: c478c9219ecc36efe515578fc1f6ae913ec2d733 [
file
] [
log
] [
blame
]
// LANGUAGE_VERSION: 1.0
const
val y
=
"cde"
fun foo
(
x
:
String
)
:
String
{
when
(
x
)
{
"abc"
,
"${y}"
->
return
"abc_cde"
"e"
+
"fg"
,
"ghi"
->
return
"efg_ghi"
}
return
"other"
}
// 0 LOOKUPSWITCH