Skip to content

[BUG] New js parser fails to parse some js that old parser supported #1440

@phated

Description

@phated

Describe the bug
I tried upgrading Grain's binaryen.ml bindings to jsoo 5.1 and it crashes with failure to parse the binaryen.js file. I still need to create a reproduction that doesn't have the whole (large) js file to comb through but I wanted to preemptively open this issue.

Expected behavior
Should be able to parse es5 code that was supported by 5.0

Versions
Ocaml 4.14
Jsoo 5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions