Closed
Description
The bar for changes to the proposal is now high, but there are some changes that are either already part of the proposal spec or are planned. I will bring these up for consensus at the July TC39 meeting.
- Collect all the attributes in dynamic import before validating them (Stage 3 reviews #137 (comment)). The difference between the old and the new behavior is currently not tested neither by test262 not by V8's tests, so regardless of what we decide we should add a test for this.
- Remove the
[no LineTerminator here]
restriction beforewith
. This was necessary withassert
to avoid ASI ambiguities, but given thatwith
is a reserved word we don't have this problem anymore. I noticed this wile implementing the proposal in Babel, and it has also been reported at No need for NLTH withwith
keyword #136. - Allow any
LiteralPropertyName
in import attributes keys, makingwith { 0: "a", 1n: "b" }
syntactically valid. This is for consistency with objects, and thus with the dynamic import form. (Normative: Add Import Attributes ecma262#3057 (review))
Metadata
Metadata
Assignees
Labels
No labels