explode duplicate identifiers in export/import specifiers and property shorthand - fixes #1458

This commit is contained in:
Sebastian McKenzie
2015-05-11 22:08:38 +01:00
parent 8277a532f4
commit 2b42773e01
11 changed files with 66 additions and 51 deletions

View File

@@ -0,0 +1,11 @@
var Utils = {
get: function() {}
};
var { get } = Utils;
var bar = {
get: function(arg) {
get(arg, "baz");
}
};

View File

@@ -0,0 +1,13 @@
"use strict";
var Utils = {
get: function get() {}
};
var _get = Utils.get;
var bar = {
get: function get(arg) {
_get(arg, "baz");
}
};