13 lines
446 B
Text
13 lines
446 B
Text
=== tests/cases/compiler/generatorES6_6.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(generatorES6_6.ts, 0, 0))
|
|
|
|
*[Symbol.iterator]() {
|
|
>Symbol.iterator : Symbol(SymbolConstructor.iterator, Decl(lib.d.ts, 1236, 31))
|
|
>Symbol : Symbol(Symbol, Decl(lib.d.ts, 1186, 52), Decl(lib.d.ts, 1292, 11))
|
|
>iterator : Symbol(SymbolConstructor.iterator, Decl(lib.d.ts, 1236, 31))
|
|
|
|
let a = yield 1;
|
|
>a : Symbol(a, Decl(generatorES6_6.ts, 2, 7))
|
|
}
|
|
}
|