8 lines
317 B
Plaintext
8 lines
317 B
Plaintext
|
==== tests/cases/compiler/collisionThisExpressionAndAliasInGlobal.ts (1 errors) ====
|
||
|
module a {
|
||
|
export var b = 10;
|
||
|
}
|
||
|
var f = () => this;
|
||
|
import _this = a; // Error
|
||
|
~~~~~
|
||
|
!!! Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference.
|