mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
278 B
Plaintext
16 lines
278 B
Plaintext
//// [tests/cases/compiler/forAwaitInAsyncAccessor.ts] ////
|
|
|
|
=== a.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(a.ts, 0, 0))
|
|
|
|
async get x() {
|
|
>x : Symbol(C.x, Decl(a.ts, 0, 9))
|
|
|
|
for await (const y of []) {
|
|
>y : Symbol(y, Decl(a.ts, 2, 24))
|
|
}
|
|
}
|
|
}
|
|
|