Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
eeaff786f0d0a86b7b827da0028bbafe287d3c04
/
.
/
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"
}
}