archives

« Bugzilla Issues Index

#2833 — 15.2.2.2: redundant group / incorrect production


In 15.2.2.2 "Static Semantics: ExportedBindings",
group 2 says:

ExportDeclaration :
export ExportClause FromClause ;
export ExportClause ;

1. Return the ExportedBindings of this ExportClause.

and group 7 says:

ExportDeclaration :
export ExportClause FromClause_opt ;

1. Return the ExportedBindings of ExportClause.

Effectively, these say the same thing. The latter should be deleted because:
(a) its position in the section is odd, and
(b) the FromClause_opt doesn't match the defining syntax.


fixed in rev25 editor's draft


confirmed fixed.