WASM: Enable exception handling tests

This commit is contained in:
Igor Laevsky
2021-09-03 20:46:44 +03:00
committed by TeamCityServer
parent ef2970a888
commit 00f61978b8
124 changed files with 1137 additions and 234 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
// DONT_TARGET_EXACT_BACKEND: WASM
// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: WASM
// reason - no error from division by zero in JS
// in wasm we just trap
// WASM_MUTE_REASON: IGNORED_IN_JS
fun expectArithmeticException(f: () -> Unit): Boolean {
try {