Skip to content

Commit

Permalink
Streamline simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
jerivas committed Jul 13, 2023
1 parent 399dd25 commit b292fb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/node/compile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ Object simplify(Object value) => switch (value) {
('max', var args) => SassCalculation.max(args),
(var name, var args) => SassCalculation.unsimplified(name, args)
},
CalculationOperation() => simplify(SassCalculation.operate(
value.operator, simplify(value.left), simplify(value.right))),
CalculationOperation() => SassCalculation.operate(
value.operator, simplify(value.left), simplify(value.right)),
_ => value,
};

Expand Down

0 comments on commit b292fb8

Please sign in to comment.