@@ -364,13 +364,12 @@ describe('compiler compliance', () => {
364
364
if (rf & 1) {
365
365
$r3$.ɵelement(0, "div");
366
366
$r3$.ɵpipe(1,"pipe");
367
- $r3$.ɵreserveSlots(10);
368
367
}
369
368
if (rf & 2) {
370
- $r3$.ɵelementProperty(0, "ternary", $r3$.ɵbind((ctx.cond ? $r3$.ɵpureFunction1(6 , _c0, ctx.a): _c1)));
369
+ $r3$.ɵelementProperty(0, "ternary", $r3$.ɵbind((ctx.cond ? $r3$.ɵpureFunction1(8 , _c0, ctx.a): _c1)));
371
370
$r3$.ɵelementProperty(0, "pipe", $r3$.ɵbind($r3$.ɵpipeBind3(1, 4, ctx.value, 1, 2)));
372
- $r3$.ɵelementProperty(0, "and", $r3$.ɵbind((ctx.cond && $r3$.ɵpureFunction1(8 , _c0, ctx.b))));
373
- $r3$.ɵelementProperty(0, "or", $r3$.ɵbind((ctx.cond || $r3$.ɵpureFunction1(10 , _c0, ctx.c))));
371
+ $r3$.ɵelementProperty(0, "and", $r3$.ɵbind((ctx.cond && $r3$.ɵpureFunction1(10 , _c0, ctx.b))));
372
+ $r3$.ɵelementProperty(0, "or", $r3$.ɵbind((ctx.cond || $r3$.ɵpureFunction1(12 , _c0, ctx.c))));
374
373
}
375
374
}
376
375
` ;
@@ -656,7 +655,7 @@ describe('compiler compliance', () => {
656
655
template: function MyComponent_Template(rf, ctx) {
657
656
if (rf & 1) {
658
657
$r3$.ɵelementStart(0, "ul", null, $c1$);
659
- $r3$.ɵtemplate(2, MyComponent_li_Template_2, 2, 1 , null, $c2$);
658
+ $r3$.ɵtemplate(2, MyComponent_li_Template_2, 2, 2 , null, $c2$);
660
659
$r3$.ɵelementEnd();
661
660
}
662
661
},
@@ -718,10 +717,9 @@ describe('compiler compliance', () => {
718
717
template: function MyApp_Template(rf, ctx) {
719
718
if (rf & 1) {
720
719
$r3$.ɵelement(0, "my-comp");
721
- $r3$.ɵreserveSlots(2);
722
720
}
723
721
if (rf & 2) {
724
- $r3$.ɵelementProperty(0, "names", $r3$.ɵbind($r3$.ɵpureFunction1(2 , $e0_ff$, ctx.customName)));
722
+ $r3$.ɵelementProperty(0, "names", $r3$.ɵbind($r3$.ɵpureFunction1(1 , $e0_ff$, ctx.customName)));
725
723
}
726
724
},
727
725
directives: [MyComp]
@@ -800,12 +798,11 @@ describe('compiler compliance', () => {
800
798
template: function MyApp_Template(rf, ctx) {
801
799
if (rf & 1) {
802
800
$r3$.ɵelement(0, "my-comp");
803
- $r3$.ɵreserveSlots(10);
804
801
}
805
802
if (rf & 2) {
806
803
$r3$.ɵelementProperty(
807
804
0, "names",
808
- $r3$.ɵbind($r3$.ɵpureFunctionV(10 , $e0_ff$, [ctx.n0, ctx.n1, ctx.n2, ctx.n3, ctx.n4, ctx.n5, ctx.n6, ctx.n7, ctx.n8])));
805
+ $r3$.ɵbind($r3$.ɵpureFunctionV(1 , $e0_ff$, [ctx.n0, ctx.n1, ctx.n2, ctx.n3, ctx.n4, ctx.n5, ctx.n6, ctx.n7, ctx.n8])));
809
806
}
810
807
},
811
808
directives: [MyComp]
@@ -864,10 +861,9 @@ describe('compiler compliance', () => {
864
861
template: function MyApp_Template(rf, ctx) {
865
862
if (rf & 1) {
866
863
$r3$.ɵelement(0, "object-comp");
867
- $r3$.ɵreserveSlots(2);
868
864
}
869
865
if (rf & 2) {
870
- $r3$.ɵelementProperty(0, "config", $r3$.ɵbind($r3$.ɵpureFunction1(2 , $e0_ff$, ctx.name)));
866
+ $r3$.ɵelementProperty(0, "config", $r3$.ɵbind($r3$.ɵpureFunction1(1 , $e0_ff$, ctx.name)));
871
867
}
872
868
},
873
869
directives: [ObjectComp]
@@ -932,12 +928,11 @@ describe('compiler compliance', () => {
932
928
template: function MyApp_Template(rf, ctx) {
933
929
if (rf & 1) {
934
930
$r3$.ɵelement(0, "nested-comp");
935
- $r3$.ɵreserveSlots(7);
936
931
}
937
932
if (rf & 2) {
938
933
$r3$.ɵelementProperty(
939
934
0, "config",
940
- $r3$.ɵbind($r3$.ɵpureFunction2(7 , $e0_ff_2$, ctx.name, $r3$.ɵpureFunction1(4 , $e0_ff_1$, $r3$.ɵpureFunction1(2 , $e0_ff$, ctx.duration)))));
935
+ $r3$.ɵbind($r3$.ɵpureFunction2(5 , $e0_ff_2$, ctx.name, $r3$.ɵpureFunction1(3 , $e0_ff_1$, $r3$.ɵpureFunction1(1 , $e0_ff$, ctx.duration)))));
941
936
}
942
937
},
943
938
directives: [NestedComp]
@@ -1254,11 +1249,10 @@ describe('compiler compliance', () => {
1254
1249
$r3$.ɵtext(4);
1255
1250
$r3$.ɵpipe(5, "myPipe");
1256
1251
$r3$.ɵelementEnd();
1257
- $r3$.ɵreserveSlots(15);
1258
1252
}
1259
1253
if (rf & 2) {
1260
- $r3$.ɵtextBinding(0, $r3$.ɵinterpolation1("", $r3$.ɵpipeBind2(1, 3 , $r3$.ɵpipeBind2(2, 6 , ctx.name, ctx.size), ctx.size), ""));
1261
- $r3$.ɵtextBinding(4, $r3$.ɵinterpolation1("", $r3$.ɵpipeBindV(5, 13 , $r3$.ɵpureFunction1(15, $c0$, ctx.name)), ""));
1254
+ $r3$.ɵtextBinding(0, $r3$.ɵinterpolation1("", $r3$.ɵpipeBind2(1, 2 , $r3$.ɵpipeBind2(2, 5 , ctx.name, ctx.size), ctx.size), ""));
1255
+ $r3$.ɵtextBinding(4, $r3$.ɵinterpolation1("", $r3$.ɵpipeBindV(5, 8 , $r3$.ɵpureFunction1(15, $c0$, ctx.name)), ""));
1262
1256
}
1263
1257
},
1264
1258
pipes: [MyPurePipe, MyPipe]
@@ -1373,7 +1367,7 @@ describe('compiler compliance', () => {
1373
1367
if (rf & 1) {
1374
1368
$r3$.ɵelementStart(0, "div");
1375
1369
$r3$.ɵtext(1);
1376
- $r3$.ɵtemplate(2, MyComponent_div_span_Template_2, 2, 1 , null, $c2$);
1370
+ $r3$.ɵtemplate(2, MyComponent_div_span_Template_2, 2, 3 , null, $c2$);
1377
1371
$r3$.ɵelement(3, "span", null, $c4$);
1378
1372
$r3$.ɵelementEnd();
1379
1373
}
@@ -1396,7 +1390,7 @@ describe('compiler compliance', () => {
1396
1390
if (rf & 1) {
1397
1391
$r3$.ɵelement(0, "div", null, $c1$);
1398
1392
$r3$.ɵtext(2);
1399
- $r3$.ɵtemplate(3, MyComponent_div_Template_3, 5, 1 , null, $c2$);
1393
+ $r3$.ɵtemplate(3, MyComponent_div_Template_3, 5, 2 , null, $c2$);
1400
1394
$r3$.ɵelement(4, "div", null, $c3$);
1401
1395
}
1402
1396
if (rf & 2) {
@@ -1460,7 +1454,7 @@ describe('compiler compliance', () => {
1460
1454
if (rf & 1) {
1461
1455
$i0$.ɵelementStart(0, "div");
1462
1456
$i0$.ɵelement(1, "div", null, $c1$);
1463
- $i0$.ɵtemplate(3, MyComponent_div_span_Template_3, 2, 1 , null, $c2$);
1457
+ $i0$.ɵtemplate(3, MyComponent_div_span_Template_3, 2, 2 , null, $c2$);
1464
1458
$i0$.ɵelementEnd();
1465
1459
}
1466
1460
if (rf & 2) {
@@ -1839,7 +1833,7 @@ describe('compiler compliance', () => {
1839
1833
$r3$.ɵtext(2);
1840
1834
$r3$.ɵelementEnd();
1841
1835
$r3$.ɵelementStart(3, "ul");
1842
- $r3$.ɵtemplate(4, MyComponent_li_li_Template_4, 2, 1 , null, $c1$);
1836
+ $r3$.ɵtemplate(4, MyComponent_li_li_Template_4, 2, 2 , null, $c1$);
1843
1837
$r3$.ɵelementEnd();
1844
1838
$r3$.ɵelementEnd();
1845
1839
}
0 commit comments