Commit 484355e
Angular compiler alignment: 100% match rate (651/651 components)
This commit achieves full alignment between the Oxc Angular compiler and
the TypeScript Angular compiler for all 651 tested components from the
bitwarden-clients project.
Key fixes in this session (95.5% -> 100%):
- Nullish coalescing parentheses around Conditional LHS
- ngFor listener context variables (LiteralMap/LiteralArray handling)
- HTML entity encoding (UTF-8 character handling in expression lexer)
- Animation binding const index (skip animations in attribute extraction)
- Interpolated binding sanitizers (security context for interpolated properties)
- Const pool ordering (single-pass pooling matching TypeScript)
- .bind() target resolution (ThisReceiver resolves to proper context variable)
- Template literal variable resolution (local alias references)
- Context alias inlining (fixed double-counting in variable optimization)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 9e07537 commit 484355e
File tree
43 files changed
+977
-476
lines changed- crates/oxc_angular_compiler
- src
- ir
- output
- parser/expression
- pipeline
- phases
- reify
- transform
- tests
- snapshots
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
43 files changed
+977
-476
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| 261 | + | |
| 262 | + | |
261 | 263 | | |
262 | 264 | | |
263 | 265 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
177 | 181 | | |
178 | 182 | | |
179 | 183 | | |
| |||
242 | 246 | | |
243 | 247 | | |
244 | 248 | | |
| 249 | + | |
| 250 | + | |
245 | 251 | | |
246 | 252 | | |
247 | 253 | | |
| |||
705 | 711 | | |
706 | 712 | | |
707 | 713 | | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
708 | 735 | | |
709 | 736 | | |
710 | 737 | | |
| |||
890 | 917 | | |
891 | 918 | | |
892 | 919 | | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
893 | 944 | | |
894 | 945 | | |
895 | 946 | | |
| |||
1488 | 1539 | | |
1489 | 1540 | | |
1490 | 1541 | | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
1491 | 1547 | | |
1492 | 1548 | | |
1493 | 1549 | | |
| |||
1653 | 1709 | | |
1654 | 1710 | | |
1655 | 1711 | | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
1656 | 1717 | | |
1657 | 1718 | | |
1658 | 1719 | | |
| |||
2644 | 2705 | | |
2645 | 2706 | | |
2646 | 2707 | | |
| 2708 | + | |
| 2709 | + | |
| 2710 | + | |
| 2711 | + | |
| 2712 | + | |
2647 | 2713 | | |
2648 | 2714 | | |
2649 | 2715 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
600 | 610 | | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
601 | 614 | | |
602 | 615 | | |
603 | 616 | | |
| |||
Lines changed: 21 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
405 | | - | |
406 | | - | |
| 404 | + | |
407 | 405 | | |
408 | | - | |
| 406 | + | |
409 | 407 | | |
410 | 408 | | |
411 | 409 | | |
| |||
417 | 415 | | |
418 | 416 | | |
419 | 417 | | |
420 | | - | |
421 | 418 | | |
422 | 419 | | |
423 | 420 | | |
| |||
434 | 431 | | |
435 | 432 | | |
436 | 433 | | |
| 434 | + | |
437 | 435 | | |
438 | | - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
439 | 441 | | |
440 | 442 | | |
441 | 443 | | |
| 444 | + | |
| 445 | + | |
442 | 446 | | |
443 | | - | |
444 | | - | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
445 | 451 | | |
446 | 452 | | |
447 | | - | |
| 453 | + | |
448 | 454 | | |
449 | 455 | | |
450 | | - | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
451 | 459 | | |
452 | 460 | | |
453 | 461 | | |
| |||
721 | 729 | | |
722 | 730 | | |
723 | 731 | | |
724 | | - | |
| 732 | + | |
| 733 | + | |
725 | 734 | | |
726 | 735 | | |
727 | | - | |
| 736 | + | |
728 | 737 | | |
729 | 738 | | |
730 | 739 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1188 | 1188 | | |
1189 | 1189 | | |
1190 | 1190 | | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
1191 | 1218 | | |
1192 | 1219 | | |
1193 | 1220 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
1368 | 1368 | | |
1369 | 1369 | | |
1370 | 1370 | | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
1371 | 1387 | | |
1372 | 1388 | | |
1373 | 1389 | | |
| |||
1379 | 1395 | | |
1380 | 1396 | | |
1381 | 1397 | | |
1382 | | - | |
1383 | | - | |
| 1398 | + | |
| 1399 | + | |
1384 | 1400 | | |
1385 | 1401 | | |
1386 | 1402 | | |
| |||
3442 | 3458 | | |
3443 | 3459 | | |
3444 | 3460 | | |
3445 | | - | |
3446 | | - | |
| 3461 | + | |
| 3462 | + | |
| 3463 | + | |
| 3464 | + | |
3447 | 3465 | | |
3448 | 3466 | | |
3449 | | - | |
3450 | 3467 | | |
3451 | 3468 | | |
3452 | 3469 | | |
| |||
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
104 | 113 | | |
105 | 114 | | |
106 | 115 | | |
| |||
148 | 157 | | |
149 | 158 | | |
150 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
151 | 169 | | |
152 | 170 | | |
153 | 171 | | |
| |||
0 commit comments