angular-cn/packages/compiler/test/aot
Ayaz Hafiz e179c5827f fix(compiler): do not recurse to find static symbols of same module (#35262)
To create the symbols of a module, the static symbol resolver first gets
all the symbols loaded in the module by an export statement. For `export
* from './module'`-like statements, all symbols from `./module` must be
loaded. In cases where the exporting module is actually the same module
that the export statement is in, this causes an unbounded recursive
resolution of the same module.

Exports of the same module are not needed, as their symbols will be
resolved when the symbols in the module metadata's `metadata` key is
explored.

This commit resolves the unbounded recursion by loading exporting
modules only if they differ from the module currently being resolved.

Closes https://github.com/angular/vscode-ng-language-service/issues/593

PR Close #35262
2020-03-16 10:52:23 -07:00
..
README.md refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
compiler_spec.ts test(ivy): add tests for component factory projectable node corner cases (#27791) 2019-03-25 13:47:48 -07:00
jit_summaries_spec.ts feat(compiler-cli): no longer re-export external symbols by default (#28633) 2019-02-13 09:49:51 -08:00
regression_spec.ts Revert "Revert "Revert "perf(compiler): skip type check and emit in bazel in some cases. (#19646)""" 2017-10-12 16:09:49 -07:00
static_reflector_spec.ts refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
static_symbol_resolver_spec.ts fix(compiler): do not recurse to find static symbols of same module (#35262) 2020-03-16 10:52:23 -07:00
summary_resolver_spec.ts feat(compiler-cli): no longer re-export external symbols by default (#28633) 2019-02-13 09:49:51 -08:00
summary_serializer_spec.ts feat(compiler-cli): no longer re-export external symbols by default (#28633) 2019-02-13 09:49:51 -08:00
test_util.ts perf: don't create holey arrays (#32155) 2019-08-21 08:27:43 -07:00

README.md

Tests in this directory are excluded from running in the browser and only run in node.