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

5 lines
249 B
Plaintext

==== tests/cases/compiler/collisionThisExpressionAndVarInGlobal.ts (1 errors) ====
var _this = 1;
~~~~~
!!! Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference.
var f = () => this;