create new raw identifiers instead of cloning the original user one when exploding export specifiers - fixes #2092

This commit is contained in:
Sebastian McKenzie 2015-07-28 19:42:05 +01:00
parent 2c3566de03
commit 90fb36d3ea

View File

@ -24,7 +24,7 @@ function getDeclar(node) {
*/
function buildExportSpecifier(id) {
return t.exportSpecifier(clone(id), clone(id));
return t.exportSpecifier(t.identifier(id.name), t.identifier(id.name));
}
export var metadata = {