TypeScript/tests/cases/compiler/collisionThisExpressionAndEnumInGlobal.ts

5 lines
77 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
enum _this { // Error
_thisVal1,
_thisVal2,
}
var f = () => this;