angular-cn/packages/compiler-cli/ngcc/test/host
Pete Bacon Darwin 97e13991c5 fix(ngcc): identifier ModuleWithProviders functions in IIFE wrapped classes (#37206)
In ES2015 IIFE wrapped classes, the identifier that would reference the class
of the NgModule may be an alias variable. Previously the `Esm2015ReflectionHost`
was not able to match this alias to the original class declaration. This resulted
in failing to identify some `ModuleWithProviders` functions in such case.

These IIFE wrapped classes were introduced in TypeScript 3.9, which is why
this issue is only recently appearing. Since 9.1.x does not support TS 3.9
there is no reason to backport this commit to that branch.

Fixes #37189

PR Close #37206
2020-05-20 13:30:32 -07:00
..
commonjs_host_import_helper_spec.ts style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
commonjs_host_spec.ts fix(ngcc): support `defineProperty()` re-exports in CommonJS and UMD (#36989) 2020-05-14 10:50:29 -07:00
esm5_host_import_helper_spec.ts fix(ngcc): ensure reflection hosts can handle TS 3.9 IIFE wrapped classes (#36989) 2020-05-14 10:50:29 -07:00
esm5_host_spec.ts fix(ngcc): ensure reflection hosts can handle TS 3.9 IIFE wrapped classes (#36989) 2020-05-14 10:50:29 -07:00
esm2015_host_import_helper_spec.ts refactor(ngcc): remove unused import (#36989) 2020-05-14 10:50:28 -07:00
esm2015_host_spec.ts fix(ngcc): identifier ModuleWithProviders functions in IIFE wrapped classes (#37206) 2020-05-20 13:30:32 -07:00
umd_host_import_helper_spec.ts style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
umd_host_spec.ts fix(ngcc): support `defineProperty()` re-exports in CommonJS and UMD (#36989) 2020-05-14 10:50:29 -07:00
util.ts fix(compiler): handle type references to namespaced symbols correctly (#36106) 2020-04-09 11:32:21 -07:00