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

feat(parser): better errors for reserved words used as identifier names #6478

Commits on Oct 13, 2024

  1. feat(parser): better errors for reserved words used as identifier nam…

    …es (#6478)
    
    ## What This PR Does
    Provide better error messages when a reserved word is used as a `BindingIdentifier`
    ```ts
    var const = 1;
    export enum const {}
    const if = 1;
    ```
    DonIsaac committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    8ea6b72 View commit details
    Browse the repository at this point in the history