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.
[ ] Remove the [no LineTerminator here] restriction before with. This was necessary with assert to avoid ASI ambiguities, but given that with 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 https://github.com/tc39/proposal-import-attributes/issues/136.
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.
[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 https://github.com/tc39/proposal-import-attributes/issues/136.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. (https://github.com/tc39/ecma262/pull/3057#pullrequestreview-1478139922)