Commit 7c06886
refactor(compiler): output arrow functions for deferred dependencies functions (angular#51650)
Reworks the compiler to generate arrow functions for the deferred dependencies which reduces the number of bytes we generate.
PR Close angular#516501 parent 4b54947 commit 7c06886
4 files changed
Lines changed: 14 additions & 25 deletions
File tree
- packages
- compiler-cli/test
- compliance/test_cases/r3_view_compiler_deferred
- ngtsc
- compiler/src/render3/view
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 5 | + | |
10 | 6 | | |
11 | 7 | | |
12 | 8 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
4 | 2 | | |
5 | 3 | | |
6 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8793 | 8793 | | |
8794 | 8794 | | |
8795 | 8795 | | |
8796 | | - | |
8797 | | - | |
8798 | | - | |
| 8796 | + | |
8799 | 8797 | | |
8800 | 8798 | | |
8801 | 8799 | | |
| |||
8847 | 8845 | | |
8848 | 8846 | | |
8849 | 8847 | | |
8850 | | - | |
| 8848 | + | |
8851 | 8849 | | |
8852 | 8850 | | |
8853 | 8851 | | |
| |||
8904 | 8902 | | |
8905 | 8903 | | |
8906 | 8904 | | |
8907 | | - | |
8908 | | - | |
| 8905 | + | |
8909 | 8906 | | |
8910 | 8907 | | |
8911 | 8908 | | |
| |||
8957 | 8954 | | |
8958 | 8955 | | |
8959 | 8956 | | |
8960 | | - | |
8961 | | - | |
8962 | | - | |
| 8957 | + | |
| 8958 | + | |
| 8959 | + | |
8963 | 8960 | | |
8964 | 8961 | | |
8965 | 8962 | | |
| |||
9062 | 9059 | | |
9063 | 9060 | | |
9064 | 9061 | | |
9065 | | - | |
| 9062 | + | |
9066 | 9063 | | |
9067 | 9064 | | |
9068 | 9065 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1339 | 1339 | | |
1340 | 1340 | | |
1341 | 1341 | | |
1342 | | - | |
1343 | | - | |
1344 | | - | |
1345 | | - | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
1346 | 1345 | | |
1347 | 1346 | | |
1348 | 1347 | | |
| |||
1354 | 1353 | | |
1355 | 1354 | | |
1356 | 1355 | | |
1357 | | - | |
1358 | | - | |
| 1356 | + | |
1359 | 1357 | | |
1360 | | - | |
| 1358 | + | |
1361 | 1359 | | |
1362 | 1360 | | |
1363 | 1361 | | |
| |||
0 commit comments