Commit d2d4015
Angular compiler: 100% fixture alignment (151/151) + test runner improvements
## Compiler Fixes
### Defer Block Alignment (17/17 fixtures)
- Add `ingest_defer_view` helper for defer block content generation
- Generate child template functions (Defer, DeferLoading, DeferPlaceholder, DeferError)
- Fix `ɵɵdefer()` signature to match Angular output
- Add flags calculation for hydrate triggers
- Fix slot propagation to defer ops
### i18n Implementation (16/16 fixtures)
- Fix i18n attribute detection and `I18nMeta::Message` creation
- Fix interpolation expression extraction and slot dependencies
- Add ICU placeholder generation with unique naming (VAR_PLURAL, VAR_PLURAL_1, etc.)
- Fix `i18n-*` attribute metadata propagation
- Add `I18nMeta::BlockPlaceholder` for control flow blocks inside i18n
- Fix nested ICU expression counting
## Compare Test Runner Improvements
- Fix ArrowFunctionExpr body handling (statement vs expression bodies)
- Fix findDeferBlocks to traverse ForLoopBlock.empty
- Fix TaggedTemplateLiteralExpr typo and LocalizedString placeholders
- Make expectedFeatures check stricter (track per-compiler features)
- Wire up skipReason for fixture skipping
- Remove unused expectFail feature
## Results
- Fixtures: 151/151 (100%)
- bitwarden-clients: 651/651 (100%)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 484355e commit d2d4015
File tree
65 files changed
+10989
-680
lines changed- crates/oxc_angular_compiler
- src
- ast
- ir
- pipeline
- phases
- reify
- statements
- transform
- tests/snapshots
- napi/angular-compiler
- e2e/compare
- fixtures
- animations
- bindings
- control-flow
- defer
- host-bindings
- i18n
- pipes
- regressions
- templates
- src
- compilers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
65 files changed
+10989
-680
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
860 | 863 | | |
861 | 864 | | |
862 | 865 | | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
863 | 880 | | |
864 | 881 | | |
865 | 882 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1028 | 1028 | | |
1029 | 1029 | | |
1030 | 1030 | | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
1031 | 1034 | | |
1032 | 1035 | | |
1033 | 1036 | | |
| |||
0 commit comments