diff --git a/src/class-elements/grammar-special-meth-ctor-get.case b/src/class-elements/grammar-special-meth-ctor-get.case index 509e2fc185664a4757b49d4bb97c5f4e5a6fdcb6..840a64de930db3ac10d7b9681a90d3a3e5856b8b 100644 --- a/src/class-elements/grammar-special-meth-ctor-get.case +++ b/src/class-elements/grammar-special-meth-ctor-get.case @@ -2,14 +2,13 @@ // 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: | Class Definitions / Static Semantics: Early Errors ClassElement : MethodDefinition It is a Syntax Error if PropName of MethodDefinition is "constructor" and SpecialMethod of MethodDefinition is true. template: syntax/invalid -features: [generators] ---*/ //- elements diff --git a/src/class-elements/grammar-special-meth-ctor-set.case b/src/class-elements/grammar-special-meth-ctor-set.case index c5f4709aa05cd8c2fce738b6cbf35fc66806cf06..d7855ad3cea86792199f346a3b2be021bc6a5712 100644 --- a/src/class-elements/grammar-special-meth-ctor-set.case +++ b/src/class-elements/grammar-special-meth-ctor-set.case @@ -2,14 +2,13 @@ // 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: | Class Definitions / Static Semantics: Early Errors ClassElement : MethodDefinition It is a Syntax Error if PropName of MethodDefinition is "constructor" and SpecialMethod of MethodDefinition is true. template: syntax/invalid -features: [generators] ---*/ //- elements