-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
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
Errors in async top-level functions do not result in traps #627
Labels
bug
Something isn't working
Comments
jeffcharles
changed the title
Errors when processing event loop do not result in traps
Errors in async top-level functions do not result in traps
Apr 9, 2024
It looks like this behaviour reproduces with the latest native QuickJS:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Operating system: MacOS 14.4.1 (Sanoma)
Processor architecture: Apple M3
Rust version: 1.77.1
Javy version: f270956
Problem
Errors in async functions do not result in error messages or traps.
Error Message and Context
Compiling and running:
should throw a syntax error and trap. Right now it exits successfully with no error messages.
This does not require the
experimental_event_loop
feature to be enabled.The text was updated successfully, but these errors were encountered: