mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
eb1fe19088
This fixes a bug in ngtsc where each @Directive was compiled using a separate ConstantPool. This resulted in two issues: * Directive constants were not shared across the file * Extra statements from directive compilation were dropped instead of added to the file This commit fixes both issues and adds a test to verify @Directive is working properly. PR Close #25620