673fa41418
* Move iterabl related stuffs off from es2015.collection * Move symbol.wellknown stuffs off from es2015.collection * Add map & set constructor support when targeting ES5 * Address PR: move symbol.iterator to es2015.iterable * Move Symbol.Iterator into es2015.iterable * Update baselines
14 lines
546 B
Plaintext
14 lines
546 B
Plaintext
=== 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.es2015.iterable.d.ts, --, --))
|
|
>Symbol : Symbol(Symbol, Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --))
|
|
>iterator : Symbol(SymbolConstructor.iterator, Decl(lib.es2015.iterable.d.ts, --, --))
|
|
|
|
let a = yield 1;
|
|
>a : Symbol(a, Decl(generatorES6_6.ts, 2, 7))
|
|
}
|
|
}
|