mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
525 B
Plaintext
16 lines
525 B
Plaintext
//// [tests/cases/conformance/async/es6/asyncArrowFunction/asyncArrowFunctionCapturesThis_es6.ts] ////
|
|
|
|
=== asyncArrowFunctionCapturesThis_es6.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(asyncArrowFunctionCapturesThis_es6.ts, 0, 0))
|
|
|
|
method() {
|
|
>method : Symbol(C.method, Decl(asyncArrowFunctionCapturesThis_es6.ts, 0, 9))
|
|
|
|
var fn = async () => await this;
|
|
>fn : Symbol(fn, Decl(asyncArrowFunctionCapturesThis_es6.ts, 2, 9))
|
|
>this : Symbol(C, Decl(asyncArrowFunctionCapturesThis_es6.ts, 0, 0))
|
|
}
|
|
}
|
|
|