Skip to content

Commit

Permalink
fixup! fix(ivy): handle elements with local refs in i18n blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKushnir committed Oct 29, 2019
1 parent d0adf58 commit 8adb68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/render3/i18n.ts
Expand Up @@ -695,7 +695,7 @@ function i18nEndFirstPass(lView: LView, tView: TView) {
// Divide by 2 to get the number of local refs,
// since they are stored as an array that also includes directive indexes,
// i.e. ["localRef", directiveIndex, ...]
index += tNode.localNames.length / 2;
index += tNode.localNames.length >> 1;
}
index++;
}
Expand Down

0 comments on commit 8adb68f

Please sign in to comment.