2014-07-13 01:04:16 +02:00
|
|
|
//// [collisionThisExpressionAndAliasInGlobal.ts]
|
|
|
|
module a {
|
|
|
|
export var b = 10;
|
|
|
|
}
|
|
|
|
var f = () => this;
|
|
|
|
import _this = a; // Error
|
|
|
|
|
|
|
|
//// [collisionThisExpressionAndAliasInGlobal.js]
|
|
|
|
var _this = this;
|
|
|
|
var a;
|
|
|
|
(function (a) {
|
|
|
|
a.b = 10;
|
|
|
|
})(a || (a = {}));
|
|
|
|
var f = function () { return _this; };
|
2014-08-15 23:32:08 +02:00
|
|
|
var _this = a; // Error
|