mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(compiler-cli): fix and re-enble expression lowering (#18570)
Fixes issue uncovered by #18388 and re-enables expression lowering disabled by #18513.
This commit is contained in:
committed by
Victor Berchet
parent
f0a55016af
commit
6f2038cc85
@@ -187,8 +187,7 @@ class AngularCompilerProgram implements Program {
|
||||
const before: ts.TransformerFactory<ts.SourceFile>[] = [];
|
||||
const after: ts.TransformerFactory<ts.SourceFile>[] = [];
|
||||
if (!this.options.disableExpressionLowering) {
|
||||
// TODO(chuckj): fix and re-enable + tests - see https://github.com/angular/angular/pull/18388
|
||||
// before.push(getExpressionLoweringTransformFactory(this.metadataCache));
|
||||
before.push(getExpressionLoweringTransformFactory(this.metadataCache));
|
||||
}
|
||||
if (!this.options.skipTemplateCodegen) {
|
||||
after.push(getAngularEmitterTransformFactory(this.generatedFiles));
|
||||
|
||||
Reference in New Issue
Block a user