@angular/compiler-cli 16.1.0-rc.0 → 16.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,7 +36,7 @@ import {
36
36
  aliasTransformFactory,
37
37
  declarationTransformFactory,
38
38
  ivyTransformFactory
39
- } from "./chunk-7HUJG2M6.js";
39
+ } from "./chunk-JXL4GN5W.js";
40
40
  import {
41
41
  TypeScriptReflectionHost,
42
42
  isNamedClassDeclaration
@@ -5866,6 +5866,9 @@ var TemplateTypeCheckerImpl = class {
5866
5866
  }
5867
5867
  const emitted = emittedRef.expression;
5868
5868
  if (emitted instanceof WrappedNodeExpr) {
5869
+ if (refTo.node === inContext) {
5870
+ return null;
5871
+ }
5869
5872
  let isForwardReference = false;
5870
5873
  if (emitted.node.getStart() > inContext.getStart()) {
5871
5874
  const declaration = (_b = (_a = this.programDriver.getProgram().getTypeChecker().getTypeAtLocation(emitted.node).getSymbol()) == null ? void 0 : _a.declarations) == null ? void 0 : _b[0];
@@ -7796,4 +7799,4 @@ export {
7796
7799
  * Use of this source code is governed by an MIT-style license that can be
7797
7800
  * found in the LICENSE file at https://angular.io/license
7798
7801
  */
7799
- //# sourceMappingURL=chunk-QCI2PLQA.js.map
7802
+ //# sourceMappingURL=chunk-EMELASNB.js.map