@@ -810,7 +810,7 @@ describe('compiler compliance', () => {
810
810
const $myComp$ = $r3$.ɵɵnextContext();
811
811
const $foo$ = $r3$.ɵɵreference(1);
812
812
$r3$.ɵɵselect(1);
813
- $r3$.ɵɵtextBinding(1, $r3$.ɵɵinterpolation2( "", $myComp$.salutation, " ", $foo$, "") );
813
+ $r3$.ɵɵtextInterpolate2( "", $myComp$.salutation, " ", $foo$, "");
814
814
}
815
815
}
816
816
…
@@ -2074,9 +2074,9 @@ describe('compiler compliance', () => {
2074
2074
}
2075
2075
if (rf & 2) {
2076
2076
$r3$.ɵɵselect(0);
2077
- $r3$.ɵɵtextBinding(0, $r3$.ɵɵinterpolation1("", $r3$. ɵɵpipeBind2(1, 3, $r3$.ɵɵpipeBind2(2, 6, ctx.name, ctx.size), ctx.size), "" ));
2077
+ $r3$.ɵɵtextInterpolate( $r3$.ɵɵpipeBind2(1, 3, $r3$.ɵɵpipeBind2(2, 6, ctx.name, ctx.size), ctx.size));
2078
2078
$r3$.ɵɵselect(4);
2079
- $r3$.ɵɵtextBinding(4, $r3$.ɵɵinterpolation2( "", $r3$.ɵɵpipeBindV(5, 9, $r3$.ɵɵpureFunction1(18, $c0$, ctx.name)), " ", ctx.name ? 1 : $r3$.ɵɵpipeBind1(6, 16, 2), "") );
2079
+ $r3$.ɵɵtextInterpolate2( "", $r3$.ɵɵpipeBindV(5, 9, $r3$.ɵɵpureFunction1(18, $c0$, ctx.name)), " ", ctx.name ? 1 : $r3$.ɵɵpipeBind1(6, 16, 2), "");
2080
2080
}
2081
2081
},
2082
2082
pipes: [MyPurePipe, MyPipe],
@@ -2139,14 +2139,14 @@ describe('compiler compliance', () => {
2139
2139
}
2140
2140
if (rf & 2) {
2141
2141
$r3$.ɵɵselect(0);
2142
- $r3$.ɵɵtextBinding(0, $r3$.ɵɵinterpolation5 (
2142
+ $r3$.ɵɵtextInterpolate5 (
2143
2143
"0:", i0.ɵɵpipeBind1(1, 5, ctx.name),
2144
2144
"1:", i0.ɵɵpipeBind2(2, 7, ctx.name, 1),
2145
2145
"2:", i0.ɵɵpipeBind3(3, 10, ctx.name, 1, 2),
2146
2146
"3:", i0.ɵɵpipeBind4(4, 14, ctx.name, 1, 2, 3),
2147
2147
"4:", i0.ɵɵpipeBindV(5, 19, $r3$.ɵɵpureFunction1(25, $c0$, ctx.name)),
2148
2148
""
2149
- )) ;
2149
+ );
2150
2150
}
2151
2151
},
2152
2152
pipes: [MyPipe],
@@ -2192,7 +2192,7 @@ describe('compiler compliance', () => {
2192
2192
if (rf & 2) {
2193
2193
const $user$ = $r3$.ɵɵreference(1);
2194
2194
$r3$.ɵɵselect(2);
2195
- $r3$.ɵɵtextBinding(2, $r3$.ɵɵinterpolation1( "Hello ", $user$.value, "!") );
2195
+ $r3$.ɵɵtextInterpolate1( "Hello ", $user$.value, "!");
2196
2196
}
2197
2197
},
2198
2198
encapsulation: 2
@@ -2255,7 +2255,7 @@ describe('compiler compliance', () => {
2255
2255
const $foo$ = $r3$.ɵɵreference(1);
2256
2256
const $baz$ = $r3$.ɵɵreference(5);
2257
2257
$r3$.ɵɵselect(1);
2258
- $r3$.ɵɵtextBinding(1, $r3$.ɵɵinterpolation3( "", $foo$, "-", $bar$, "-", $baz$, "") );
2258
+ $r3$.ɵɵtextInterpolate3( "", $foo$, "-", $bar$, "-", $baz$, "");
2259
2259
}
2260
2260
}
2261
2261
function MyComponent_div_3_Template(rf, ctx) {
@@ -2271,7 +2271,7 @@ describe('compiler compliance', () => {
2271
2271
$r3$.ɵɵnextContext();
2272
2272
const $foo$ = $r3$.ɵɵreference(1);
2273
2273
$r3$.ɵɵselect(1);
2274
- $r3$.ɵɵtextBinding(1, $r3$.ɵɵinterpolation2( " ", $foo$, "-", $bar$, " ") );
2274
+ $r3$.ɵɵtextInterpolate2( " ", $foo$, "-", $bar$, " ");
2275
2275
}
2276
2276
}
2277
2277
…
@@ -2291,7 +2291,7 @@ describe('compiler compliance', () => {
2291
2291
if (rf & 2) {
2292
2292
const $foo$ = $r3$.ɵɵreference(1);
2293
2293
$r3$.ɵɵselect(2);
2294
- $r3$.ɵɵtextBinding(2, $r3$.ɵɵinterpolation1( " ", $foo$, " ") );
2294
+ $r3$.ɵɵtextInterpolate1( " ", $foo$, " ");
2295
2295
}
2296
2296
},
2297
2297
directives:[IfDirective],
@@ -2300,9 +2300,7 @@ describe('compiler compliance', () => {
2300
2300
2301
2301
const result = compile ( files , angularFiles ) ;
2302
2302
const source = result . source ;
2303
-
2304
2303
expectEmit ( source , MyComponentDefinition , 'Incorrect MyComponent.ngComponentDef' ) ;
2305
-
2306
2304
} ) ;
2307
2305
2308
2306
it ( 'should support local refs mixed with context assignments' , ( ) => {
@@ -2344,7 +2342,7 @@ describe('compiler compliance', () => {
2344
2342
const $item$ = $i0$.ɵɵnextContext().$implicit;
2345
2343
const $foo$ = $i0$.ɵɵreference(2);
2346
2344
$r3$.ɵɵselect(1);
2347
- $i0$.ɵɵtextBinding(1, $i0$.ɵɵinterpolation2( " ", $foo$, " - ", $item$, " ") );
2345
+ $i0$.ɵɵtextInterpolate2( " ", $foo$, " - ", $item$, " ");
2348
2346
}
2349
2347
}
2350
2348
@@ -2648,7 +2646,7 @@ describe('compiler compliance', () => {
2648
2646
if (rf & 2) {
2649
2647
const $item$ = ctx.$implicit;
2650
2648
$r3$.ɵɵselect(1);
2651
- $r3$.ɵɵtextBinding(1, $r3$.ɵɵinterpolation1("", $ item$.name, "") );
2649
+ $r3$.ɵɵtextInterpolate($ item$.name);
2652
2650
}
2653
2651
}
2654
2652
…
@@ -2731,7 +2729,7 @@ describe('compiler compliance', () => {
2731
2729
const $info$ = ctx.$implicit;
2732
2730
const $item$ = $r3$.ɵɵnextContext().$implicit;
2733
2731
$r3$.ɵɵselect(1);
2734
- $r3$.ɵɵtextBinding(1, $r3$.ɵɵinterpolation2( " ", $item$.name, ": ", $info$.description, " ") );
2732
+ $r3$.ɵɵtextInterpolate2( " ", $item$.name, ": ", $info$.description, " ");
2735
2733
}
2736
2734
}
2737
2735
@@ -2749,7 +2747,7 @@ describe('compiler compliance', () => {
2749
2747
if (rf & 2) {
2750
2748
const $item$ = ctx.$implicit;
2751
2749
$r3$.ɵɵselect(2);
2752
- $r3$.ɵɵtextBinding(2, $r3$.ɵɵinterpolation1("", IDENT.name, "") );
2750
+ $r3$.ɵɵtextInterpolate( IDENT.name);
2753
2751
$r3$.ɵɵselect(4);
2754
2752
$r3$.ɵɵproperty("forOf", IDENT.infos);
2755
2753
}
0 commit comments