fix(compiler-cli): avoid generating unnecessary factories

This commit is contained in:
Chuck Jazdzewski
2017-02-18 21:28:27 -08:00
committed by Igor Minar
parent de795ea233
commit fcc1d17ccb
11 changed files with 89 additions and 43 deletions

View File

@ -192,7 +192,8 @@ export class MetadataBundler {
*/
private canonicalizeSymbols(exportedSymbols: Symbol[]) {
const symbols = Array.from(this.symbolMap.values());
this.exported = new Set(exportedSymbols);;
this.exported = new Set(exportedSymbols);
;
symbols.forEach(this.canonicalizeSymbol, this);
}