angular-cn/packages/compiler-cli/ngcc/test/integration
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
..
ngcc_spec.ts fix(ngcc): always add exports for `ModuleWithProviders` references (#33875) 2019-11-18 09:11:34 -08:00
util.ts test(ngcc): expand integration tests with APF like package layouts (#33875) 2019-11-18 09:11:34 -08:00