You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* example of JS module */import{fib}from"./fib_module.js";// here I throw an ErrorthrownewError('test error');console.log("Hello World");console.log("fib(10)=",fib(10));
When I execute qjs ./examples/hello_module.js, no error showed
The text was updated successfully, but these errors were encountered:
I confirm this error for a version 2024-01-13. After rolling back to version 2023-12-09 the errors started to appear.
I am using the QuickJS API, not the CLI. When I call JS_Eval with a broken script and JS_EVAL_TYPE_GLOBAL flag then it returns JS exception (it's normal):
QuickJS Version: 2024-01-13
When I execute
qjs ./examples/hello_module.js
, no error showedThe text was updated successfully, but these errors were encountered: