mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-19 19:59:23 -05:00
invalid output in both cases, picking the latest
This commit is contained in:
@@ -16,10 +16,10 @@ module {
|
||||
//// [anonymousModules.js]
|
||||
module;
|
||||
{
|
||||
exports.foo = 1;
|
||||
export var foo = 1;
|
||||
module;
|
||||
{
|
||||
exports.bar = 1;
|
||||
export var bar = 1;
|
||||
}
|
||||
var bar = 2;
|
||||
module;
|
||||
|
||||
@@ -42,9 +42,9 @@ var Q = (function (_super) {
|
||||
// Super is not allowed in constructor args
|
||||
function Q(z, zz, zzz) {
|
||||
var _this = this;
|
||||
if (z === void 0) { z = _super.prototype.; }
|
||||
if (zz === void 0) { zz = _super.prototype.; }
|
||||
if (zzz === void 0) { zzz = function () { return _super.prototype.; }; }
|
||||
if (z === void 0) { z = _super.; }
|
||||
if (zz === void 0) { zz = _super.; }
|
||||
if (zzz === void 0) { zzz = function () { return _super.; }; }
|
||||
_super.call(this);
|
||||
this.z = z;
|
||||
this.xx = _super.prototype.;
|
||||
|
||||
Reference in New Issue
Block a user