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

Fix parsing error in exponent expressions with unary left-hand sides. #201

Merged
merged 2 commits into from
Nov 2, 2021

Commits on Nov 2, 2021

  1. Fix parsing error in exponent expressions with unary left-hand sides.

    Esprima (correctly) rejects expressions like -1**2. - jquery/esprima#2070
    However, expressions like (-1)**2 are valid but still rejected.
    This commit fixes this issue by identifying when the left operand
    is parenthesized.
    
    Fixes jquery/esprima#1981
    jogibear9988 committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    9d19795 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b7dcbf View commit details
    Browse the repository at this point in the history