recover was implemented for most architectures in #2331, however wasm was left out.
As suggested here
|
case "wasm32": |
|
// Probably needs to be implemented using the exception handling |
|
// proposal of WebAssembly: |
|
// https://github.com/WebAssembly/exception-handling |
|
return false |
it should probably utilize the proposed exception handling:
https://github.com/WebAssembly/exception-handling
Opened as per expected closure of #891
recoverwas implemented for most architectures in #2331, howeverwasmwas left out.As suggested here
tinygo/compiler/defer.go
Lines 29 to 33 in 4c64784
Opened as per expected closure of #891