Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
847a2ced07911ac5a943ed41390d054d0e81aa1f
/
.
/
compiler
/
testData
/
codegen
/
box
/
wasmStringSwitch
/
whenPropertyAccess.kt
blob: fc3039fc41e06dd52489f4167da425b762b5ae75 [
file
]
class
C
(
var
s
:
String
)
fun box
():
String
{
val c
=
C
(
"B"
)
return
when
{
c
.
s
==
"A"
->
"FAIL1"
c
.
s
==
"B"
->
"OK"
else
->
"FAIL2"
}
}