refactor(ivy): remove unused arg from ngcc `Analyzer` (#25406)

PR Close #25406
This commit is contained in:
George Kalpakas 2018-07-24 16:51:44 +03:00 committed by Matias Niemelä
parent a528636f56
commit a7134dbc37
1 changed files with 2 additions and 3 deletions

View File

@ -66,7 +66,7 @@ export class Analyzer {
analyzeFile(file: ParsedFile): AnalyzedFile {
const constantPool = new ConstantPool();
const analyzedClasses =
file.decoratedClasses.map(clazz => this.analyzeClass(file.sourceFile, constantPool, clazz))
file.decoratedClasses.map(clazz => this.analyzeClass(constantPool, clazz))
.filter(isDefined);
return {
@ -75,8 +75,7 @@ export class Analyzer {
};
}
protected analyzeClass(file: ts.SourceFile, pool: ConstantPool, clazz: ParsedClass): AnalyzedClass
|undefined {
protected analyzeClass(pool: ConstantPool, clazz: ParsedClass): AnalyzedClass|undefined {
const matchingHandlers = this.handlers
.map(handler => ({
handler,