c3988ef184
So #KT-18852 Fixed
15 lines
204 B
Plaintext
Vendored
15 lines
204 B
Plaintext
Vendored
enum class TestEnum{
|
|
A, B, C
|
|
}
|
|
|
|
fun test(e: TestEnum): Int {
|
|
var res: Int = 0
|
|
|
|
<caret>res = when (e) {
|
|
TestEnum.A -> 1
|
|
TestEnum.B -> 2
|
|
else -> 3
|
|
}
|
|
|
|
return res
|
|
} |