Merge pull request #229 from bocoup/restructure-generator-tests-2

Restructure generator tests 2
This commit is contained in:
Brian Terlson 2015-04-18 15:50:23 -07:00
commit b8711eb803
7 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,7 @@
info: > info: >
GeneratorMethod early SyntaxError when super is called GeneratorMethod early SyntaxError when super is called
directly inside generator args directly inside generator args
features: [generators]
es6id: 14.4.1 es6id: 14.4.1
author: Sam Mikes author: Sam Mikes
description: GeneratorMethod error if HasDirectSuper in args description: GeneratorMethod error if HasDirectSuper in args

View File

@ -4,6 +4,7 @@
/*--- /*---
info: > info: >
GeneratorMethod can reference SuperProperty in arg GeneratorMethod can reference SuperProperty in arg
features: [generators]
es6id: 14.4.1 es6id: 14.4.1
author: Sam Mikes author: Sam Mikes
description: GeneratorMethod uses SuperProperty (allowed) description: GeneratorMethod uses SuperProperty (allowed)

View File

@ -5,6 +5,7 @@
info: > info: >
GeneratorMethod early SyntaxError when super is called GeneratorMethod early SyntaxError when super is called
directly inside generator body directly inside generator body
features: [generators]
es6id: 14.4.1 es6id: 14.4.1
author: Sam Mikes author: Sam Mikes
description: GeneratorMethod error if HasDirectSuper in body description: GeneratorMethod error if HasDirectSuper in body

View File

@ -4,6 +4,7 @@
/*--- /*---
info: > info: >
GeneratorMethod can reference SuperProperty in body GeneratorMethod can reference SuperProperty in body
features: [generators]
es6id: 14.4.1 es6id: 14.4.1
author: Sam Mikes author: Sam Mikes
description: GeneratorMethod body uses SuperProperty (allowed) description: GeneratorMethod body uses SuperProperty (allowed)

View File

@ -5,6 +5,7 @@
info: > info: >
GeneratorMethod early SyntaxError when lexical declaration GeneratorMethod early SyntaxError when lexical declaration
inside generator shadows parameter name inside generator shadows parameter name
features: [generators]
es6id: 14.4.1 es6id: 14.4.1
author: Sam Mikes author: Sam Mikes
description: GeneratorMethod error with lexical shadowing description: GeneratorMethod error with lexical shadowing

View File

@ -5,6 +5,7 @@
info: > info: >
GeneratorMethod early SyntaxError when lexical declaration GeneratorMethod early SyntaxError when lexical declaration
inside generator shadows parameter name inside generator shadows parameter name
features: [generators]
es6id: 14.4.1 es6id: 14.4.1
author: Sam Mikes author: Sam Mikes
description: GeneratorMethod error with lexical shadowing description: GeneratorMethod error with lexical shadowing

View File

@ -4,6 +4,7 @@
/*--- /*---
info: > info: >
Generator can be declared with GeneratorMethod syntax Generator can be declared with GeneratorMethod syntax
features: [generators]
es6id: 14.4 es6id: 14.4
author: Sam Mikes author: Sam Mikes
description: can declare generator methods description: can declare generator methods