From 585dac6d4612ad91fafb50cd8dac50be3be9637a Mon Sep 17 00:00:00 2001 From: Leo Balter <leonardo.balter@gmail.com> Date: Wed, 5 Sep 2018 16:36:12 -0400 Subject: [PATCH] fix typo --- src/class-elements/grammar-special-meth-ctor-get.case | 3 +-- src/class-elements/grammar-special-meth-ctor-set.case | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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 -- GitLab