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

6 lines
169 B
Plaintext
Raw Normal View History

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