TypeScript/tests/baselines/reference/collisionThisExpressionAndClassInGlobal.errors.txt

6 lines
259 B
Text
Raw Normal View History

2014-07-19 01:13:21 +02:00
==== tests/cases/compiler/collisionThisExpressionAndClassInGlobal.ts (1 errors) ====
class _this {
~~~~~
!!! Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference.
}
var f = () => this;