Syntax checking should parse text as Expression, not as Program
Open
/code
bug
- Dominant language
- JavaScript
- Stars
- 198
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
Acorn, as currently configured, syntax checks editor text as if it is a JavaScript Program rather than Expression. This leads to bogus warnings, e.g.:


Contributor guide
Assessment
This issue has not been assessed yet.