File tree 1 file changed +25
-0
lines changed
spec/values/calculation/round
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,31 @@ More info and automated migrator: https://sass-lang.com/d/slash-div
143
143
'
144
144
input.scss 2:6 root stylesheet
145
145
146
+ <===>
147
+ ================================================================================
148
+ <===> calc_unsafe_in_binary_operator/input.scss
149
+ // Regression test for sass/dart-sass#2523
150
+ b {
151
+ a: round(-(1) + 2);
152
+ }
153
+
154
+ <===> calc_unsafe_in_binary_operator/output.css
155
+ b {
156
+ a: 1;
157
+ }
158
+
159
+ <===> calc_unsafe_in_binary_operator/warning
160
+ DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
161
+ Use math.round instead.
162
+
163
+ More info and automated migrator: https://sass-lang.com/d/import
164
+
165
+ ,
166
+ 3 | a: round(-(1) + 2);
167
+ | ^^^^^^^^^^^^^^^
168
+ '
169
+ input.scss 3:6 root stylesheet
170
+
146
171
<===>
147
172
================================================================================
148
173
<===> case_insensitive/input.scss
You can’t perform that action at this time.
0 commit comments