mirror of https://github.com/tc39/test262.git
fix typo
This commit is contained in:
parent
bf5661bf60
commit
585dac6d46
|
@ -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 @@
|
||||||
// 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
|
||||||
|
|
Loading…
Reference in New Issue