7 lines
200 B
Plaintext
7 lines
200 B
Plaintext
|
==== tests/cases/compiler/topLevelLambda.ts (1 errors) ====
|
||
|
module M {
|
||
|
var f = () => {this.window;}
|
||
|
~~~~
|
||
|
!!! 'this' cannot be referenced in a module body.
|
||
|
}
|
||
|
|