Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
073a50037049a4e0869085bf4acf7c29e56210e3
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
whenStringOptimization
/
nonInlinedConst.kt
blob: e44503c1d45615e8d08bc729dac92470633a061c [
file
] [
log
] [
blame
]
// !LANGUAGE: -InlineConstVals
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