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

Syntax checking should parse text as Expression, not as Program #397

Open
cpcallen opened this issue Jun 23, 2020 · 0 comments
Open

Syntax checking should parse text as Expression, not as Program #397

cpcallen opened this issue Jun 23, 2020 · 0 comments
Labels
bug /code Client-side issues related to the /code IDE.

Comments

@cpcallen
Copy link
Collaborator

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.:

Screenshot 2020-06-23 at 12 19 59 (2)

Screenshot 2020-06-23 at 12 17 22 (2)

@cpcallen cpcallen added bug /code Client-side issues related to the /code IDE. labels Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug /code Client-side issues related to the /code IDE.
Projects
None yet
Development

No branches or pull requests

1 participant