Skip to content
Snippets Groups Projects
Commit 585dac6d authored by Leo Balter's avatar Leo Balter Committed by Rick Waldron
Browse files

fix typo

parent bf5661bf
No related branches found
No related tags found
No related merge requests found
...@@ -2,14 +2,13 @@ ...@@ -2,14 +2,13 @@
// This code is governed by the BSD license found in the LICENSE file. // This code is governed by the BSD license found in the LICENSE file.
/*--- /*---
desc: Generator Methods cannot be named "constructor" desc: Accessor get Methods cannot be named "constructor"
info: | info: |
Class Definitions / Static Semantics: Early Errors Class Definitions / Static Semantics: Early Errors
ClassElement : MethodDefinition ClassElement : MethodDefinition
It is a Syntax Error if PropName of MethodDefinition is "constructor" and SpecialMethod of MethodDefinition is true. It is a Syntax Error if PropName of MethodDefinition is "constructor" and SpecialMethod of MethodDefinition is true.
template: syntax/invalid template: syntax/invalid
features: [generators]
---*/ ---*/
//- elements //- elements
......
...@@ -2,14 +2,13 @@ ...@@ -2,14 +2,13 @@
// This code is governed by the BSD license found in the LICENSE file. // This code is governed by the BSD license found in the LICENSE file.
/*--- /*---
desc: Generator Methods cannot be named "constructor" desc: Accessor set Methods cannot be named "constructor"
info: | info: |
Class Definitions / Static Semantics: Early Errors Class Definitions / Static Semantics: Early Errors
ClassElement : MethodDefinition ClassElement : MethodDefinition
It is a Syntax Error if PropName of MethodDefinition is "constructor" and SpecialMethod of MethodDefinition is true. It is a Syntax Error if PropName of MethodDefinition is "constructor" and SpecialMethod of MethodDefinition is true.
template: syntax/invalid template: syntax/invalid
features: [generators]
---*/ ---*/
//- elements //- elements
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment