Implement export-ns-from syntax
Categories
(Core :: JavaScript Engine, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: john.david.dalton, Assigned: tcampbell)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(2 files)
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Updated•6 years ago
|
Comment 3•6 years ago
|
||
This was just accepted for merging into the spec, so we should probably up the priority of implementing it.
Assignee | ||
Comment 4•4 years ago
|
||
I'm making an attempt at this as I fix Bug 1614041.
Assignee | ||
Comment 5•4 years ago
|
||
Add support for export * as ns from "a";
syntax. This was added in
ECMAScript 2020.
One wrinkle in the implementation is that the parser decides whether to use a
lexical vs indirect binding before module linking. Instead, we reserve a
hidden environment slot called "namespace" for each module that can be
referenced by indirect binding maps as needed.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 6•4 years ago
|
||
Update spec references and step numbers to match ES2020. Add TODOs for the
missing steps. There are some editorial changes in latest draft that affect
step numbers, but behaviour is the same for these methods.
Comment 8•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6fee4a3c8aa4
https://hg.mozilla.org/mozilla-central/rev/a35461d1fc07
Comment 9•4 years ago
|
||
https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export#Browser_compatibility
https://wiki.developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/80#JavaScript
Description
•