fkling / fkling/astexplorer

meriyah update needed

Open
#738 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6.5k
Forks
772
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
I tried parsing some code with meriyah only for it to fail on some newer syntax. It doesn't fail in my codebase with meriyah@6.0.6 so pretty sure we need a meriyah update.

**To Reproduce**
select meriyah as the parser

code
```
class Foo {
foo = 1;
}
```

results in a parse error: `[2:7]: Expected '('`

**Expected behavior**

should parse without error

**Browser (please complete the following information):**
Chrome 139

**astexplorer settings:**
- Selected parser: meriyah
- Selected transformer (if applicable): none
- Contents of the local storage key `explorerSettingsV1` (code can be removed if you don't want it to be public)

'{"showTransformPanel":false,"parserSettings":{},"parserPerCategory":{"javascript":"meriyah"},"workbench":{"parser":"meriyah","code":"class Foo {\\n foo = 1;\\n}","keyMap":"default","transform":{"code":"","transformer":null}}}'

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.