<===> options.yml
---
:warning_todo:
- sass/libsass#2887
<===> input.scss
$x: a 3/4 b;
$y: hey;
@function foo() {
@return 3/4;
}
div {
hoo: 3/4;
goo: nth($x, 2);
foo: 15 / nth($x, 2);
foo: .25 + nth($x, 2);
coo: 2/3 / nth($x, 2);
bar: $y and true;
bar: false and true;
bar: (false) and true;
@each $elem in $x {
blah: $elem;
}
bloo: foo();
@warn 2/3;
blix: "hey #{nth($x, 2)} ho";
}
@media screen and (hux: 3/4) {
div {
color: red;
}
}
@warn "blah blah";
div {
blah: "ho #{nth($x, 2) } ho";
}
span {
fludge: (true and 3/4);
}
<===> output.css
div {
hoo: 3/4;
goo: 0.75;
foo: 20;
foo: 1;
coo: 0.8888888889;
bar: true;
bar: false;
bar: false;
blah: a;
blah: 0.75;
blah: b;
bloo: 0.75;
blix: "hey 0.75 ho";
}
@media screen and (hux: 3/4) {
div {
color: red;
}
}
div {
blah: "ho 0.75 ho";
}
span {
fludge: 0.75;
}
<===> output-libsass.css
div {
hoo: 3/4;
goo: 0.75;
foo: 20;
foo: 1;
coo: 0.8888888889;
bar: true;
bar: false and true;
bar: false;
blah: a;
blah: 0.75;
blah: b;
bloo: 0.75;
blix: "hey 0.75 ho";
}
@media screen and (hux: 3/4) {
div {
color: red;
}
}
div {
blah: "ho 0.75 ho";
}
span {
fludge: 0.75;
}
<===> warning
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(3, 4)
More info and automated migrator: https://sass-lang.com/d/slash-div
,
10 | goo: nth($x, 2);
| ^^^^^^^^^^
'
input.scss 10:8 root stylesheet
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(3, 4)
More info and automated migrator: https://sass-lang.com/d/slash-div
,
11 | foo: 15 / nth($x, 2);
| ^^^^^^^^^^
'
input.scss 11:13 root stylesheet
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(15, nth($x, 2))
More info and automated migrator: https://sass-lang.com/d/slash-div
,
11 | foo: 15 / nth($x, 2);
| ^^^^^^^^^^^^^^^
'
input.scss 11:8 root stylesheet
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(3, 4)
More info and automated migrator: https://sass-lang.com/d/slash-div
,
12 | foo: .25 + nth($x, 2);
| ^^^^^^^^^^
'
input.scss 12:14 root stylesheet
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(3, 4)
More info and automated migrator: https://sass-lang.com/d/slash-div
,
13 | coo: 2/3 / nth($x, 2);
| ^^^^^^^^^^
'
input.scss 13:14 root stylesheet
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(math.div(2, 3), nth($x, 2))
More info and automated migrator: https://sass-lang.com/d/slash-div
,
13 | coo: 2/3 / nth($x, 2);
| ^^^^^^^^^^^^^^^^
'
input.scss 13:8 root stylesheet
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(3, 4)
More info and automated migrator: https://sass-lang.com/d/slash-div
,
1 | $x: a 3/4 b;
| ^^^^^^^
'
input.scss 1:5 root stylesheet
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(3, 4)
More info and automated migrator: https://sass-lang.com/d/slash-div
,
5 | @return 3/4;
| ^^^
'
input.scss 5:11 foo()
input.scss 20:9 root stylesheet
WARNING: 2/3
input.scss 21:3 root stylesheet
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(3, 4)
More info and automated migrator: https://sass-lang.com/d/slash-div
,
22 | blix: "hey #{nth($x, 2)} ho";
| ^^^^^^^^^^
'
input.scss 22:16 root stylesheet
WARNING: blah blah
input.scss 31:1 root stylesheet
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(3, 4)
More info and automated migrator: https://sass-lang.com/d/slash-div
,
34 | blah: "ho #{nth($x, 2) } ho";
| ^^^^^^^^^^
'
input.scss 34:15 root stylesheet
DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(3, 4)
More info and automated migrator: https://sass-lang.com/d/slash-div
,
38 | fludge: (true and 3/4);
| ^^^
'
input.scss 38:21 root stylesheet