Skip to content

qjs terminates on exception #814

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

Closed
bnoordhuis opened this issue Jan 10, 2025 · 1 comment · Fixed by #815
Closed

qjs terminates on exception #814

bnoordhuis opened this issue Jan 10, 2025 · 1 comment · Fixed by #815
Labels
bug Something isn't working

Comments

@bnoordhuis
Copy link
Contributor

Probably a recently introduced regression:

$ ./build/tcc/qjs
QuickJS-ng - Type ".help" for help
qjs > x
Possibly unhandled promise rejection: ReferenceError: x is not defined
    at <eval> (<evalScript>:1:1)
$ echo $?
1
@bnoordhuis bnoordhuis added the bug Something isn't working label Jan 10, 2025
@saghul
Copy link
Contributor

saghul commented Jan 10, 2025

Ah, must be 4b8057d

The repl likely needs to disable that...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants