refactor(ivy): remove unused ɵɵtextBinding instruction (#32345)
PR Close #32345
This commit is contained in:

committed by
Misko Hevery

parent
cc288aec3d
commit
5635505f2e
@ -128,8 +128,6 @@ export class Identifiers {
|
||||
|
||||
static text: o.ExternalReference = {name: 'ɵɵtext', moduleName: CORE};
|
||||
|
||||
static textBinding: o.ExternalReference = {name: 'ɵɵtextBinding', moduleName: CORE};
|
||||
|
||||
static enableBindings: o.ExternalReference = {name: 'ɵɵenableBindings', moduleName: CORE};
|
||||
|
||||
static disableBindings: o.ExternalReference = {name: 'ɵɵdisableBindings', moduleName: CORE};
|
||||
|
@ -968,8 +968,7 @@ export class TemplateDefinitionBuilder implements t.Visitor<void>, LocalResolver
|
||||
nodeIndex, text.sourceSpan, getTextInterpolationExpression(value),
|
||||
() => this.getUpdateInstructionArguments(value));
|
||||
} else {
|
||||
this.updateInstruction(
|
||||
nodeIndex, text.sourceSpan, R3.textBinding, () => [this.convertPropertyBinding(value)]);
|
||||
error('Text nodes should be interpolated and never bound directly.');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user