diff --git a/test/language/expressions/object/method-definition/generator-argSuperCall.js b/test/language/expressions/object/method-definition/generator-argSuperCall.js index 38364cf0a4..bfbd2fb8ad 100644 --- a/test/language/expressions/object/method-definition/generator-argSuperCall.js +++ b/test/language/expressions/object/method-definition/generator-argSuperCall.js @@ -5,6 +5,7 @@ info: > GeneratorMethod early SyntaxError when super is called directly inside generator args +features: [generators] es6id: 14.4.1 author: Sam Mikes description: GeneratorMethod error if HasDirectSuper in args diff --git a/test/language/expressions/object/method-definition/generator-argSuperProperty.js b/test/language/expressions/object/method-definition/generator-argSuperProperty.js index 111147d27c..5c7a75d45f 100644 --- a/test/language/expressions/object/method-definition/generator-argSuperProperty.js +++ b/test/language/expressions/object/method-definition/generator-argSuperProperty.js @@ -4,6 +4,7 @@ /*--- info: > GeneratorMethod can reference SuperProperty in arg +features: [generators] es6id: 14.4.1 author: Sam Mikes description: GeneratorMethod uses SuperProperty (allowed) diff --git a/test/language/expressions/object/method-definition/generator-bodySuperCall.js b/test/language/expressions/object/method-definition/generator-bodySuperCall.js index a1186dc43b..6dfa31f7fd 100644 --- a/test/language/expressions/object/method-definition/generator-bodySuperCall.js +++ b/test/language/expressions/object/method-definition/generator-bodySuperCall.js @@ -5,6 +5,7 @@ info: > GeneratorMethod early SyntaxError when super is called directly inside generator body +features: [generators] es6id: 14.4.1 author: Sam Mikes description: GeneratorMethod error if HasDirectSuper in body diff --git a/test/language/expressions/object/method-definition/generator-bodySuperProperty.js b/test/language/expressions/object/method-definition/generator-bodySuperProperty.js index adfb42ec8b..741fae468c 100644 --- a/test/language/expressions/object/method-definition/generator-bodySuperProperty.js +++ b/test/language/expressions/object/method-definition/generator-bodySuperProperty.js @@ -4,6 +4,7 @@ /*--- info: > GeneratorMethod can reference SuperProperty in body +features: [generators] es6id: 14.4.1 author: Sam Mikes description: GeneratorMethod body uses SuperProperty (allowed) diff --git a/test/language/expressions/object/method-definition/generator-shadow-parameter-const.js b/test/language/expressions/object/method-definition/generator-shadow-parameter-const.js index 1fbd3e6985..8f1969cab3 100644 --- a/test/language/expressions/object/method-definition/generator-shadow-parameter-const.js +++ b/test/language/expressions/object/method-definition/generator-shadow-parameter-const.js @@ -5,6 +5,7 @@ info: > GeneratorMethod early SyntaxError when lexical declaration inside generator shadows parameter name +features: [generators] es6id: 14.4.1 author: Sam Mikes description: GeneratorMethod error with lexical shadowing diff --git a/test/language/expressions/object/method-definition/generator-shadow-parameter-let.js b/test/language/expressions/object/method-definition/generator-shadow-parameter-let.js index e0b9fabf95..0646eccd4a 100644 --- a/test/language/expressions/object/method-definition/generator-shadow-parameter-let.js +++ b/test/language/expressions/object/method-definition/generator-shadow-parameter-let.js @@ -5,6 +5,7 @@ info: > GeneratorMethod early SyntaxError when lexical declaration inside generator shadows parameter name +features: [generators] es6id: 14.4.1 author: Sam Mikes description: GeneratorMethod error with lexical shadowing diff --git a/test/language/expressions/object/method-definition/yield-return.js b/test/language/expressions/object/method-definition/yield-return.js index e7ded64c78..d989c316f1 100644 --- a/test/language/expressions/object/method-definition/yield-return.js +++ b/test/language/expressions/object/method-definition/yield-return.js @@ -4,6 +4,7 @@ /*--- info: > Generator can be declared with GeneratorMethod syntax +features: [generators] es6id: 14.4 author: Sam Mikes description: can declare generator methods