[Wasm] Support main function

This commit is contained in:
Svyatoslav Kuzmich
2021-10-13 12:08:54 +03:00
parent af18b10da9
commit 0f66f85cf9
22 changed files with 259 additions and 122 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ fun box(): String {
try {
callback()
} catch (e: Exception) {
assertTrue(e === exception)
if (e !== exception) return "Fail"
}
return "OK"