mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
475 B
Plaintext
14 lines
475 B
Plaintext
//// [tests/cases/compiler/blockScopedBindingCaptureThisInFunction.ts] ////
|
|
|
|
=== blockScopedBindingCaptureThisInFunction.ts ===
|
|
// https://github.com/Microsoft/TypeScript/issues/11038
|
|
() => function () {
|
|
for (let someKey in {}) {
|
|
>someKey : Symbol(someKey, Decl(blockScopedBindingCaptureThisInFunction.ts, 2, 12))
|
|
|
|
this.helloWorld();
|
|
() => someKey;
|
|
>someKey : Symbol(someKey, Decl(blockScopedBindingCaptureThisInFunction.ts, 2, 12))
|
|
}
|
|
};
|