TypeScript/tests/baselines/reference/collisionThisExpressionAndEnumInGlobal.errors.txt
2014-07-18 16:16:28 -07:00

8 lines
305 B
Plaintext

==== tests/cases/compiler/collisionThisExpressionAndEnumInGlobal.ts (1 errors) ====
enum _this { // Error
~~~~~
!!! Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference.
_thisVal1,
_thisVal2,
}
var f = () => this;