fix(ivy): export elementContainerStart/End instructions (#27053)
PR Close #27053
This commit is contained in:
@ -244,12 +244,12 @@ describe('compiler compliance', () => {
|
|||||||
…
|
…
|
||||||
template: function MyComponent_Template(rf, ctx) {
|
template: function MyComponent_Template(rf, ctx) {
|
||||||
if (rf & 1) {
|
if (rf & 1) {
|
||||||
i0.ɵEC(0);
|
i0.ɵelementContainerStart(0);
|
||||||
i0.ɵelementStart(1, "span");
|
i0.ɵelementStart(1, "span");
|
||||||
i0.ɵtext(2, "in a ");
|
i0.ɵtext(2, "in a ");
|
||||||
i0.ɵelementEnd();
|
i0.ɵelementEnd();
|
||||||
i0.ɵtext(3, "container");
|
i0.ɵtext(3, "container");
|
||||||
i0.ɵeC();
|
i0.ɵelementContainerEnd();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
@ -281,8 +281,8 @@ describe('compiler compliance', () => {
|
|||||||
…
|
…
|
||||||
template: function MyComponent_Template(rf, ctx) {
|
template: function MyComponent_Template(rf, ctx) {
|
||||||
if (rf & 1) {
|
if (rf & 1) {
|
||||||
i0.ɵEC(0);
|
i0.ɵelementContainerStart(0);
|
||||||
i0.ɵeC();
|
i0.ɵelementContainerEnd();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
@ -35,9 +35,11 @@ export class Identifiers {
|
|||||||
|
|
||||||
static elementClassProp: o.ExternalReference = {name: 'ɵelementClassProp', moduleName: CORE};
|
static elementClassProp: o.ExternalReference = {name: 'ɵelementClassProp', moduleName: CORE};
|
||||||
|
|
||||||
static elementContainerStart: o.ExternalReference = {name: 'ɵEC', moduleName: CORE};
|
static elementContainerStart:
|
||||||
|
o.ExternalReference = {name: 'ɵelementContainerStart', moduleName: CORE};
|
||||||
|
|
||||||
static elementContainerEnd: o.ExternalReference = {name: 'ɵeC', moduleName: CORE};
|
static elementContainerEnd:
|
||||||
|
o.ExternalReference = {name: 'ɵelementContainerEnd', moduleName: CORE};
|
||||||
|
|
||||||
static elementStyling: o.ExternalReference = {name: 'ɵelementStyling', moduleName: CORE};
|
static elementStyling: o.ExternalReference = {name: 'ɵelementStyling', moduleName: CORE};
|
||||||
|
|
||||||
|
@ -89,6 +89,8 @@ export {
|
|||||||
enableBindings as ɵenableBindings,
|
enableBindings as ɵenableBindings,
|
||||||
disableBindings as ɵdisableBindings,
|
disableBindings as ɵdisableBindings,
|
||||||
elementAttribute as ɵelementAttribute,
|
elementAttribute as ɵelementAttribute,
|
||||||
|
elementContainerStart as ɵelementContainerStart,
|
||||||
|
elementContainerEnd as ɵelementContainerEnd,
|
||||||
elementStyling as ɵelementStyling,
|
elementStyling as ɵelementStyling,
|
||||||
elementStylingMap as ɵelementStylingMap,
|
elementStylingMap as ɵelementStylingMap,
|
||||||
elementStyleProp as ɵelementStyleProp,
|
elementStyleProp as ɵelementStyleProp,
|
||||||
|
@ -49,8 +49,8 @@ export const angularCoreEnv: {[name: string]: Function} = {
|
|||||||
'ɵelementStart': r3.elementStart,
|
'ɵelementStart': r3.elementStart,
|
||||||
'ɵelementEnd': r3.elementEnd,
|
'ɵelementEnd': r3.elementEnd,
|
||||||
'ɵelement': r3.element,
|
'ɵelement': r3.element,
|
||||||
'ɵEC': r3.elementContainerStart,
|
'ɵelementContainerStart': r3.elementContainerStart,
|
||||||
'ɵeC': r3.elementContainerEnd,
|
'ɵelementContainerEnd': r3.elementContainerEnd,
|
||||||
'ɵpureFunction0': r3.pureFunction0,
|
'ɵpureFunction0': r3.pureFunction0,
|
||||||
'ɵpureFunction1': r3.pureFunction1,
|
'ɵpureFunction1': r3.pureFunction1,
|
||||||
'ɵpureFunction2': r3.pureFunction2,
|
'ɵpureFunction2': r3.pureFunction2,
|
||||||
|
Reference in New Issue
Block a user