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