angular-cn/packages/compiler-cli/ngcc/test/analysis
Paul Gschwendtner 2b4d5c7548 fix(ivy): ngcc should process undecorated base classes (#30821)
Currently undecorated classes are intentionally not processed
with ngcc. This is causing unexpected behavior because decorator
handlers such as `base_def.ts` are specifically interested in class
definitions without top-level decorators, so that the base definition
can be generated if there are Angular-specific class members.

In order to ensure that undecorated base-classes work as expected
with Ivy, we need to run the decorator handlers for all top-level
class declarations (not only for those with decorators). This is similar
to when `ngtsc` runs decorator handlers when analyzing source-files.

Resolves FW-1355. Fixes https://github.com/angular/components/issues/16178

PR Close #30821
2019-06-11 00:19:34 +00:00
..
decoration_analyzer_spec.ts fix(ivy): ngcc should process undecorated base classes (#30821) 2019-06-11 00:19:34 +00:00
module_with_providers_analyzer_spec.ts feat(compiler-cli): ngcc - make logging more configurable (#29591) 2019-04-01 11:53:28 -07:00
private_declarations_analyzer_spec.ts refactor(ivy): ngcc - implement abstract FileSystem (#29643) 2019-04-29 12:37:21 -07:00
references_registry_spec.ts refactor(ivy): move ngcc into a higher level folder (#29092) 2019-03-20 14:45:54 -04:00
switch_marker_analyzer_spec.ts refactor(ivy): ngcc - implement abstract FileSystem (#29643) 2019-04-29 12:37:21 -07:00