refactor(ivy): convert TNode.index to number, general cleanup (#24260)

PR Close #24260
This commit is contained in:
Kara Erickson
2018-06-01 14:46:28 -07:00
committed by Victor Berchet
parent 0561b66a2b
commit 5db4f1a5ba
4 changed files with 27 additions and 47 deletions

View File

@ -583,8 +583,7 @@ export function getOrCreateContainerRef(di: LInjector): viewEngine_ViewContainer
const hostTNode = vcRefHost.tNode;
if (!hostTNode.dynamicContainerNode) {
hostTNode.dynamicContainerNode =
createTNode(TNodeType.Container, null, null, null, null, null);
hostTNode.dynamicContainerNode = createTNode(TNodeType.Container, -1, null, null, null, null);
}
lContainerNode.tNode = hostTNode.dynamicContainerNode;