mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-30 04:39:03 +01:00
Fix equality checks for CalculationOperation (#1556)
This commit is contained in:
parent
55cb4fd509
commit
681bbb2a0d
@ -1,5 +1,8 @@
|
||||
## 1.43.5
|
||||
|
||||
* Fix a bug where calculations with different operators were incorrectly
|
||||
considered equal.
|
||||
|
||||
### JS API
|
||||
|
||||
* Print more detailed JS stack traces. This is mostly useful for the Sass team's
|
||||
|
@ -337,6 +337,7 @@ class CalculationOperation {
|
||||
|
||||
bool operator ==(Object other) =>
|
||||
other is CalculationOperation &&
|
||||
operator == other.operator &&
|
||||
left == other.left &&
|
||||
right == other.right;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user