fix(ivy): generate bind calls for property bindings (#23403)

PR Close #23403
This commit is contained in:
Kara Erickson
2018-04-16 15:29:42 -07:00
committed by Jason Aden
parent 010a4efa8c
commit 7f612fc828
3 changed files with 88 additions and 3 deletions

View File

@ -16,7 +16,7 @@ describe('compiler compliance: template', () => {
compileCommon: true,
});
it('should create correctly bind to context in nested template', () => {
it('should correctly bind to context in nested template', () => {
const files = {
app: {
'spec.ts': `
@ -94,7 +94,7 @@ describe('compiler compliance: template', () => {
const $outer$ = ctx0.$implicit;
const $middle$ = ctx1.$implicit;
const $inner$ = ctx2.$implicit;
$i0$.ɵp(0, 'title', ctx.format($outer$, $middle$, $inner$, ctx.component));
$i0$.ɵp(0, 'title', $i0$.ɵb(ctx.format($outer$, $middle$, $inner$, ctx.component)));
$i0$.ɵt(1, $i0$.ɵi1(' ', ctx.format($outer$, $middle$, $inner$, ctx.component), ' '));
}
}