diff --git a/modules/@angular/compiler/src/view_compiler/compile_view.ts b/modules/@angular/compiler/src/view_compiler/compile_view.ts index 1125859b46..58fa5519dc 100644 --- a/modules/@angular/compiler/src/view_compiler/compile_view.ts +++ b/modules/@angular/compiler/src/view_compiler/compile_view.ts @@ -159,7 +159,8 @@ export class CompileView implements NameResolver { proxyParams.push(new o.FnParam(paramName)); proxyReturnEntries.push(o.variable(paramName)); } - createPureProxy(o.fn(proxyParams, [new o.ReturnStatement(o.literalArr(proxyReturnEntries))], new o.ArrayType(o.DYNAMIC_TYPE)), + createPureProxy(o.fn(proxyParams, [new o.ReturnStatement(o.literalArr(proxyReturnEntries))], + new o.ArrayType(o.DYNAMIC_TYPE)), values.length, proxyExpr, this); return proxyExpr.callFn(values); } @@ -178,7 +179,8 @@ export class CompileView implements NameResolver { proxyReturnEntries.push([entries[i][0], o.variable(paramName)]); values.push(entries[i][1]); } - createPureProxy(o.fn(proxyParams, [new o.ReturnStatement(o.literalMap(proxyReturnEntries))], new o.MapType(o.DYNAMIC_TYPE)), + createPureProxy(o.fn(proxyParams, [new o.ReturnStatement(o.literalMap(proxyReturnEntries))], + new o.MapType(o.DYNAMIC_TYPE)), entries.length, proxyExpr, this); return proxyExpr.callFn(values); } diff --git a/modules/@angular/compiler_cli/integrationtest/src/basic.html b/modules/@angular/compiler_cli/integrationtest/src/basic.html index 97f4d2eaf5..75cbeb7137 100644 --- a/modules/@angular/compiler_cli/integrationtest/src/basic.html +++ b/modules/@angular/compiler_cli/integrationtest/src/basic.html @@ -1,4 +1,4 @@ -
{{ctxProp}}
+
{{ctxProp}}
\ No newline at end of file