refactor(compiler): remove unused function (#41040)

The `accessExportScope()` function is not used anymore.

PR Close #41040
This commit is contained in:
Pete Bacon Darwin 2021-02-25 13:51:17 +00:00 committed by Andrew Kushnir
parent 0f818f36d7
commit 7f24937f1c
1 changed files with 0 additions and 5 deletions

View File

@ -293,11 +293,6 @@ export function compileNgModuleFromRender2(
/* methods */[]));
}
function accessExportScope(module: o.Expression): o.Expression {
const selectorScope = new o.ReadPropExpr(module, 'ɵmod');
return new o.ReadPropExpr(selectorScope, 'exported');
}
function tupleTypeOf(exp: R3Reference[]): o.Type {
const types = exp.map(ref => o.typeofExpr(ref.type));
return exp.length > 0 ? o.expressionType(o.literalArr(types)) : o.NONE_TYPE;