blob: e75492e0ffcf5607387052327159523d482b058a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import Foo.*
// "Add remaining branches with * import" "true"
// WITH_RUNTIME
enum class Foo {
A, B, C
}
class Test {
fun foo(e: Foo) {
when<caret> (e) {
A -> TODO()
B -> TODO()
C -> TODO()
}
}
}
|