Skip to content

Add specs for /-as-separator#1399

Merged
nex3 merged 12 commits intomasterfrom
division-deprecation
May 18, 2021
Merged

Add specs for /-as-separator#1399
nex3 merged 12 commits intomasterfrom
division-deprecation

Conversation

@nex3
Copy link
Contributor

@nex3 nex3 commented Jun 4, 2019

See sass/sass#2565

[skip dart-sass]

@nex3 nex3 requested a review from jathak June 4, 2019 12:16
@nex3
Copy link
Contributor Author

nex3 commented Jun 4, 2019

This shouldn't be submitted until:

@nex3 nex3 force-pushed the division-deprecation branch from d8491e2 to 13b483d Compare June 4, 2019 12:30
More info and automated migrator: https://sass-lang.com/d/slash-div

,
23 | l: 15 / 5 / $three;
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't there be a warning for the 15 / 5 part of this expression too? (it wouldn't be division on its own, but as part of the larger expression it is)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good question! Rather than adding another warning, I've updated the recommendation to convert nested divisions to divide() calls as well.

@nex3 nex3 merged commit 77d0fcc into master May 18, 2021
@nex3 nex3 deleted the division-deprecation branch May 18, 2021 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants