fix(compiler): ensure template is updated if an output is transformed (#29041)
No idea where the tests for this code are, but it looks like this was an oversight in the original commit 6a0f78. PR Close #29041
This commit is contained in:
parent
b73e02005b
commit
c7e4931f32
|
@ -193,8 +193,8 @@ export class TransformVisitor implements Visitor<Node> {
|
|||
const newReferences = transformAll(this, template.references);
|
||||
const newVariables = transformAll(this, template.variables);
|
||||
if (newAttributes != template.attributes || newInputs != template.inputs ||
|
||||
newChildren != template.children || newVariables != template.variables ||
|
||||
newReferences != template.references) {
|
||||
newOutputs != template.outputs || newChildren != template.children ||
|
||||
newReferences != template.references || newVariables != template.variables) {
|
||||
return new Template(
|
||||
template.tagName, newAttributes, newInputs, newOutputs, newChildren, newReferences,
|
||||
newVariables, template.sourceSpan, template.startSourceSpan, template.endSourceSpan);
|
||||
|
|
Loading…
Reference in New Issue