Skip to content

Unterminated regular expression for valid code containing division #727

Closed
@fdietze

Description

@fdietze

[email protected]

$ echo 'f(a/b,a/b,a.of/b)' | acorn --ecma6
Unterminated regular expression (1:15)

The slashes are division, not a regular expression.

ecma3 to ecma5 work well, while from ecma6 the error occurs.

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