Skip to content

Stage 2.7 Review CZW #15

@legendecas

Description

@legendecas

I will post review comments on the issue.

Editorial: Early Error simplification

<emu-grammar><ins>ExportDeclaration : `export` `defer` ExportFromClause FromClause WithClause? `;`</ins></emu-grammar>
<ul>
<li>
<ins>It is a Syntax Error if |ExportFromClause| is `*`.</ins>
</li>
</ul>

This early error could be simplified by specifying with grammar production that:

        ExportDeclaration :
          `export` `defer` ExportFromNamedExports FromClause WithClause? `;`

        ExportFromClause :
          `*`
          ExportFromNamedExports

        ExportFromNamedExports :
          `*` `as` ModuleExportName
          NamedExports

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions