angular-cn/packages/compiler-cli/ngcc/test/analysis
JoostK 7215889b3c fix(ngcc): always add exports for `ModuleWithProviders` references (#33875)
In #32902 a bug was supposedly fixed where internal classes as used
within `ModuleWithProviders` are publicly exported, even when the
typings file already contained the generic type on the
`ModuleWithProviders`. This fix turns out to have been incomplete, as
the `ModuleWithProviders` analysis is not done when not processing the
typings files.

The effect of this bug is that formats that are processed after the
initial format had been processed would not have exports for internal
symbols, resulting in "export '...' was not found in '...'" errors.

This commit fixes the bug by always running the `ModuleWithProviders`
analyzer. An integration test has been added that would fail prior to
this change.

Fixes #33701

PR Close #33875
2019-11-18 09:11:34 -08:00
..
decoration_analyzer_spec.ts feat(ngcc): enable migrations to apply schematics to libraries (#33362) 2019-10-25 09:16:50 -07:00
migration_host_spec.ts feat(ngcc): migrate services that are missing `@Injectable()` (#33362) 2019-10-25 09:16:49 -07:00
module_with_providers_analyzer_spec.ts fix(ngcc): always add exports for `ModuleWithProviders` references (#33875) 2019-11-18 09:11:34 -08:00
private_declarations_analyzer_spec.ts refactor(ivy): ngcc - remove `formatProperty` from `EntryPointBundle` (#32052) 2019-08-08 11:14:38 -07:00
references_registry_spec.ts refactor(ivy): implement a virtual file-system layer in ngtsc + ngcc (#30921) 2019-06-25 16:25:24 -07:00
switch_marker_analyzer_spec.ts refactor(ivy): ngcc - remove `formatProperty` from `EntryPointBundle` (#32052) 2019-08-08 11:14:38 -07:00
util_spec.ts fix(ivy): ngcc - do not analyze files outside the current package (#30591) 2019-06-26 08:00:03 -07:00