JS: translate when to JsSwitch when possible
See KT-21160
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
// CHECK_CASES_COUNT: function=foo count=4
|
||||
// CHECK_IF_COUNT: function=foo count=0
|
||||
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user