We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
defer panic()
~/go/src/github.com/dgryski/bug/defpan $ tinygo run main.go todo: builtin: panic todo: builtin: panic ~/go/src/github.com/dgryski/bug/defpan $ cat main.go package main func main() { println("before") defer panic("panic") println("after") }
panic is *ssa.Panic which isn't handled by defer (or createBuiltin?). I guess we need to turn it into a b.createRuntimeInvoke("_panic", ...).
panic
*ssa.Panic
defer
createBuiltin
b.createRuntimeInvoke("_panic", ...)
The text was updated successfully, but these errors were encountered:
just wanted to chime in here that I'm also interested in this, but not quite sure how I could best help move things along 🙂
Sorry, something went wrong.
Here is a fix: #4571
No branches or pull requests
panic
is*ssa.Panic
which isn't handled bydefer
(orcreateBuiltin
?). I guess we need to turn it into ab.createRuntimeInvoke("_panic", ...)
.The text was updated successfully, but these errors were encountered: