Open
Description
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:
(async function() {
adfasdfsa;
})();
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.