remap UpdateExpression in module exports - closes #334

This commit is contained in:
Sebastian McKenzie
2014-12-28 01:00:53 +11:00
parent e6ac5eccd0
commit 601bbb86cd
15 changed files with 80 additions and 23 deletions

View File

@@ -1,7 +1,9 @@
export var test = 2;
test = 5;
test++;
(function () {
var test = 2;
test = 3;
test++;
})();

View File

@@ -5,12 +5,14 @@ System.register("es6-modules-system/remap/expected", [], function (_export) {
"use strict";
var test = _export("test", 2);
test = 5;
_export("test", test = 5);
_export("test", test += 1);
(function () {
var test = 2;
test = 3;
test++;
})();
}
};
});
});