angular/packages/compiler-cli/ngcc/src
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
..
analysis fix(compiler-cli): ensure LogicalFileSystem handles case-sensitivity (#36859) 2020-05-06 15:23:16 -07:00
dependencies refactor(ngcc): rename ReexportStatement to WildcardReexportStatement (#36989) 2020-05-14 10:50:29 -07:00
entry_point_finder perf(ngcc): speed up the getBasePaths() computation (#36881) 2020-05-04 12:50:02 -07:00
execution refactor(ngcc): move PathMappings to separate file to avoid circular dependency (#36626) 2020-04-29 14:28:26 -07:00
host fix(ngcc): identifier ModuleWithProviders functions in IIFE wrapped classes (#37206) 2020-05-20 13:30:32 -07:00
locking refactor(ngcc): ensure unlocker process works in mock file-systems (#36989) 2020-05-14 10:50:28 -07:00
logging style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
migrations style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
packages feat(ngcc): support for new APF where module points to esm2015 output (#36944) 2020-05-06 13:54:26 -07:00
rendering fix(ngcc): ensure rendering formatters work with IIFE wrapped classes (#36989) 2020-05-14 10:50:29 -07:00
sourcemaps fix(ngcc): don't crash on cyclic source-map references (#36452) 2020-04-06 13:19:53 -07:00
writing feat(ngcc): support reverting a file written by FileWriter (#36626) 2020-04-29 14:28:26 -07:00
command_line_options.ts feat(ngcc): support for new APF where module points to esm2015 output (#36944) 2020-05-06 13:54:26 -07:00
constants.ts fix(ngcc): provide a unique exit code for timeouts (#36838) 2020-05-01 09:52:09 -07:00
main.ts build: prepare for TypeScript 3.9 (#36989) 2020-05-14 10:50:28 -07:00
ngcc_options.ts refactor(ngcc): move PathMappings to separate file to avoid circular dependency (#36626) 2020-04-29 14:28:26 -07:00
path_mappings.ts refactor(ngcc): move PathMappings to separate file to avoid circular dependency (#36626) 2020-04-29 14:28:26 -07:00
utils.ts refactor(ngcc): moved shared setup into a single function (#36637) 2020-04-16 16:05:12 -04:00