6e6ffa12a6
- 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
10 lines
274 B
Kotlin
Vendored
10 lines
274 B
Kotlin
Vendored
public fun box() : String {
|
|
if ( 0 == 0 ) { // Does not crash if either this...
|
|
if ( 0 == 0 ) { // ...or this is changed to if ( true )
|
|
// Does not crash if the following is uncommented.
|
|
//println("foo")
|
|
}
|
|
}
|
|
return "OK"
|
|
}
|