Skip to content

Commit

Permalink
Update packages/babel-parser/src/parser/location.js
Browse files Browse the repository at this point in the history
Co-Authored-By: Brian Ng <bng412@gmail.com>
  • Loading branch information
JLHwung and existentialism committed Mar 17, 2020
1 parent 74dab62 commit b06867b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-parser/src/parser/location.js
Expand Up @@ -35,7 +35,7 @@ export const Errors = Object.freeze({
ConstructorClassField: "Classes may not have a field named 'constructor'",
ConstructorClassPrivateField:
"Classes may not have a private field named '#constructor'",
ConstructorIsAccessor: "Constructor may not be a get/set accessor",
ConstructorIsAccessor: "Class constructor may not be an accessor",
ConstructorIsAsync: "Constructor can't be an async function",
ConstructorIsGenerator: "Constructor can't be a generator",
DeclarationMissingInitializer: "%0 require an initialization value",
Expand Down

0 comments on commit b06867b

Please sign in to comment.