Skip to content

Incorrect error message for index declaration parser #2372

Closed
@JesseCodeBones

Description

@JesseCodeBones

This issue is from existed issue 2296.
parseClassMember function has an incorrect error message at line 2098:

          this.error(
            DiagnosticCode._0_modifier_cannot_be_used_here,
            tn.range(accessStart, accessEnd), "protected"
          ); // recoverable
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions