fix(ivy): convert context code into a tree-shakable instruction (#24943)
PR Close #24943
This commit is contained in:

committed by
Igor Minar

parent
fe14f180a6
commit
2ef777b0b2
@ -825,7 +825,7 @@ describe('content projection', () => {
|
||||
|
||||
}, [NgIf]);
|
||||
|
||||
function IfTemplate(rf1: RenderFlags, ctx: any, child: any) {
|
||||
function IfTemplate(rf1: RenderFlags, ctx: any) {
|
||||
if (rf1 & RenderFlags.Create) {
|
||||
projectionDef();
|
||||
projection(0);
|
||||
@ -890,7 +890,7 @@ describe('content projection', () => {
|
||||
|
||||
}, [NgIf]);
|
||||
|
||||
function IfTemplate(rf: RenderFlags, ctx: any, child: any) {
|
||||
function IfTemplate(rf: RenderFlags, ctx: any) {
|
||||
if (rf & RenderFlags.Create) {
|
||||
projectionDef();
|
||||
projection(0);
|
||||
|
Reference in New Issue
Block a user