angular-cn/packages/compiler-cli/ngcc/test
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
..
analysis fix(ivy): ngcc should process undecorated base classes (#30821) 2019-06-11 00:19:34 +00:00
dependencies feat(ivy): ngcc - turn on CommonJS support (#30200) 2019-05-22 16:24:15 -07:00
helpers refactor(ivy): ngcc - fake core and tslib should be typings files (#25445) 2019-05-16 12:11:04 -07:00
host fix(ivy): ngcc should process undecorated base classes (#30821) 2019-06-11 00:19:34 +00:00
integration fix(ivy): ngcc - prevent crash for packages without "main" property (#30950) 2019-06-11 00:12:03 +00:00
logging feat(compiler-cli): ngcc - make logging more configurable (#29591) 2019-04-01 11:53:28 -07:00
packages feat(ivy): ngcc - turn on CommonJS support (#30200) 2019-05-22 16:24:15 -07:00
rendering fix(ivy): ngcc should process undecorated base classes (#30821) 2019-06-11 00:19:34 +00:00
writing test: fix ngcc unit tests in windows (#30297) 2019-05-13 11:26:56 -07:00
BUILD.bazel refactor(ivy): use a named type for ImportManager import structures (#25445) 2019-05-16 12:11:03 -07:00
utils_spec.ts refactor(ivy): ngcc - implement new module resolver (#29643) 2019-04-29 12:37:21 -07:00