Skip to content

Add parenthesis in operations to keep order. #248

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

pamelalozano16
Copy link
Contributor

Bug fix: Removing interpolation was causing changes in the order of calculations.
Replacing interpolation with parenthesis in these cases produces the same result.

Ex. $a * #{$b + $c} is not the same calculation as $a * $b + $c, but it is the same as .$a * ($b + $c)

@pamelalozano16 pamelalozano16 force-pushed the calc-interpolation branch 2 times, most recently from 228bbbe to a74a811 Compare December 9, 2023 01:35
@nex3 nex3 requested a review from jathak December 11, 2023 21:42
Copy link
Member

@jathak jathak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a changelog entry and bump the pubspec version to 1.8.2-dev (since we can release this and #249 at the same time)

@jathak jathak merged commit 31ea60a into sass:main Dec 19, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants