message: fix(ivy): ensure [style] and [class] bindings are placed in the same instruction
  PR Close
diff: @@ -549,21 +549,22 @@ export class TemplateDefinitionBuilder implements t.Visitor<void>, LocalResolver
  const stylingInput = mapBasedStyleInput || mapBasedClassInput;
  if (stylingInput) {
  - const params: o.Expression[] = [];
  - let value: AST;
  + this.updateInstruction(stylingInput.sourceSpan, R3.elementStylingMap, () => {
  + const params: o.Expression[] = [indexLiteral];
  +
  if (mapBasedClassInput) {
  - value = mapBasedClassInput.value.visit(this._valueConverter);
  + const mapBasedClassValue = mapBasedClassInput.value.visit(this._valueConverter);
  + params.push(this.convertPropertyBinding(implicit, mapBasedClassValue, true));
  } else if (mapBasedStyleInput) {
  params.push(o.NULL_EXPR);
  }
  if (mapBasedStyleInput) {
  - value = mapBasedStyleInput.value.visit(this._valueConverter);
  + const mapBasedStyleValue = mapBasedStyleInput.value.visit(this._valueConverter);
  + params.push(this.convertPropertyBinding(implicit, mapBasedStyleValue, true));
  }
  - this.updateInstruction(stylingInput.sourceSpan, R3.elementStylingMap, () => {
  - params.push(this.convertPropertyBinding(implicit, value, true));
  - return [indexLiteral, ...params];
  + return params;
  });
  }
  