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

7 lines
186 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/thisInModule.ts (1 errors) ====
module myMod {
var x;
this.x = 5;
~~~~
!!! 'this' cannot be referenced in a module body.
}