Files
kotlin-fork/js/js.translator/testData/wasmBox/passedCommonTests/when/noElseNoMatch.kt
T
Svyatoslav Kuzmich 6e6ffa12a6 [WASM] Initial infrastructure
- New module ":compiler:backend.wasm"
    - Initial compiler infra (driver, phaser, context)
    - Subset of Wasm AST
    - Skeleton of IR -> Wasm AST
    - Wasm AST -> WAT transformer

- Testing infra

- SpiderMonkey jsshell tool
2019-08-22 15:59:54 +03:00

8 lines
104 B
Kotlin
Vendored

fun box(): String {
val x = 3
when (x) {
1 -> {}
2 -> {}
}
return "OK"
}