JS: translate when against enum to JsSwitch when possible
This commit is contained in:
+3
@@ -1,3 +1,6 @@
|
||||
// CHECK_CASES_COUNT: function=box$lambda count=0
|
||||
// CHECK_IF_COUNT: function=box$lambda count=1
|
||||
|
||||
enum class Season {
|
||||
WINTER,
|
||||
SPRING,
|
||||
|
||||
Reference in New Issue
Block a user