diff --git a/src/class-elements/grammar-special-meth-ctor-get.case b/src/class-elements/grammar-special-meth-ctor-get.case index 509e2fc185..840a64de93 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 c5f4709aa0..d7855ad3ce 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