archives

« Bugzilla Issues Index

#99 — Modules: ImportSpecifierSet error?


Given:

ImportSpecifierSet ::= ...
...
| "{" (ImportSpecifier ("," ImportSpecifier)*)? ","? "}"

this leads you to be able to write

import modexp.{}

What is the point in allowing an empty set? Shouldn't the grammar be?

ImportSpecifierSet ::= ...
...
| "{" ImportSpecifier ("," ImportSpecifier)* ","? "}"


no longer applicable to ES6 module features