angular/packages/compiler-cli/ngcc/test/analysis
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
..
decoration_analyzer_spec.ts fix(ngcc): correctly detect external files from nested node_modules/ (#36559) 2020-04-10 09:10:26 -07:00
migration_host_spec.ts fix(ngcc): correctly detect external files from nested node_modules/ (#36559) 2020-04-10 09:10:26 -07:00
module_with_providers_analyzer_spec.ts fix(ngcc): identifier ModuleWithProviders functions in IIFE wrapped classes (#37206) 2020-05-20 13:30:32 -07:00
ngcc_trait_compiler_spec.ts style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
private_declarations_analyzer_spec.ts style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
references_registry_spec.ts style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
switch_marker_analyzer_spec.ts fix(ngcc): correctly detect external files from nested node_modules/ (#36559) 2020-04-10 09:10:26 -07:00
util_spec.ts fix(ngcc): correctly detect external files from nested node_modules/ (#36559) 2020-04-10 09:10:26 -07:00