Skip to content

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

Description

@cpcallen

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    /codeClient-side issues related to the /code IDE.bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions