archives

« Bugzilla Issues Index

#4494 — 14.4.1 Early Errors: Missing rule for "GeneratorDeclaration : function * (..."


14.4.1 Static Semantics: Early Errors


Add missing early error restriction:

---
GeneratorDeclaration : function * ( FormalParameters ) { GeneratorBody }
- It is a Syntax Error if HasDirectSuper of GeneratorDeclaration is true.
---


Fixed in ES2016 Draft (cdab871).