Skip to content
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

Rollback JSOO version for QuickJS compatibility #1427

Merged
merged 2 commits into from
May 21, 2024
Merged

Conversation

andrjohns
Copy link
Contributor

Submission Checklist

Closes #1425

  • Run unit tests
  • Documentation
    • If a user-facing facing change was made, the documentation PR is here:
    • OR, no user-facing changes were made

Release notes

Rollback js_of_ocaml to 5.4.0 for compatibility with QuickJS

Copyright and Licensing

By submitting this pull request, the copyright holder is agreeing to
license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)

@WardBrian
Copy link
Member

Are we also pursuing a fix in quickjs? I don't want to have a version pinning here which is stuck indefinitely because another package doesn't correctly implement part of javascript

@andrjohns
Copy link
Contributor Author

Are we also pursuing a fix in quickjs? I don't want to have a version pinning here which is stuck indefinitely because another package doesn't correctly implement part of javascript

They've said that they're aware of the bug, so I guess so.

It's easy enough to revisit later if there's a compelling reason to upgrade

@@ -3,7 +3,9 @@
# exit when any command fails
set -e

opam pin -y js_of_ocaml 5.5.2
# JSOO versions higher than this break QuickJS (labelled break statements)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we link to either (or both) of the stanc/quickjs issues in this comment, just to make said future testing easier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Bogus parsing error with Stanc3 JS >= 2.34 - but only with QuickJS
2 participants