2014-07-13 01:04:16 +02:00
|
|
|
//// [collisionThisExpressionAndEnumInGlobal.ts]
|
|
|
|
enum _this { // Error
|
|
|
|
_thisVal1,
|
|
|
|
_thisVal2,
|
|
|
|
}
|
|
|
|
var f = () => this;
|
|
|
|
|
|
|
|
//// [collisionThisExpressionAndEnumInGlobal.js]
|
|
|
|
var _this = this;
|
|
|
|
var _this;
|
|
|
|
(function (_this) {
|
|
|
|
_this[_this["_thisVal1"] = 0] = "_thisVal1";
|
|
|
|
_this[_this["_thisVal2"] = 1] = "_thisVal2";
|
|
|
|
})(_this || (_this = {}));
|
2015-03-26 21:46:35 +01:00
|
|
|
var f = function () { return _this; };
|