ExportSpecifier visitor keys not in same order as source / token list
CWindatt opened this issue · 0 comments
CWindatt commented
VisitorKeys = {
...
ExportSpecifier: ['exported', 'local'],
The keys should be in the reverse order because the 'local' identifier node will come before the 'exported' node. For example:
var a; export { a as b };
'local' is 'a'
'exported' is 'b'
This is the opposite for ImportSpecifier so its keys are correct.