From 5a2161785795342501757357e7548bfa63b5c043 Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Thu, 17 Oct 2024 02:58:10 +0000 Subject: [PATCH] Update specs for an emergency workaround for sass/dart-sass#2390 (#2030) These are not intended to reflect the correct behavior, but rather the fact that we need to limit the amount of repetition univerally until we have time to find a proper solution to the underlying bug. --- .../moz_document/functions/interpolated.hrx | 50 --- spec/css/moz_document/functions/static.hrx | 20 - spec/libsass-closed-issues/issue_759.hrx | 56 --- spec/libsass/bourbon.hrx | 414 ------------------ .../operations/addition/dimensions/pairs.hrx | 304 ------------- .../operations/addition/numbers/pairs.hrx | 95 ---- .../operations/addition/strings/pairs.hrx | 190 -------- .../interpolation-operators-precedence.hrx | 95 ---- 8 files changed, 1224 deletions(-) diff --git a/spec/css/moz_document/functions/interpolated.hrx b/spec/css/moz_document/functions/interpolated.hrx index 4934c2368..78ddb1e5b 100644 --- a/spec/css/moz_document/functions/interpolated.hrx +++ b/spec/css/moz_document/functions/interpolated.hrx @@ -135,53 +135,3 @@ For details, see https://sass-lang.com/d/moz-document. 15 | | a {type: unquoted partial url-prefix} 16 | \ } ' - -DEPRECATION WARNING on line 17, column 1 of input.scss: -@-moz-document is deprecated and support will be removed in Dart Sass 2.0.0. - -For details, see https://sass-lang.com/d/moz-document. - , -17 | / @-moz-document url-prefix("#{ht + tps}://sass-lang.com/docs") { -18 | | a {type: quoted partial url-prefix} -19 | \ } - ' - -DEPRECATION WARNING on line 21, column 1 of input.scss: -@-moz-document is deprecated and support will be removed in Dart Sass 2.0.0. - -For details, see https://sass-lang.com/d/moz-document. - , -21 | / @-moz-document domain(#{"sass-lang.com"}) { -22 | | a {type: unquoted full domain} -23 | \ } - ' - -DEPRECATION WARNING on line 24, column 1 of input.scss: -@-moz-document is deprecated and support will be removed in Dart Sass 2.0.0. - -For details, see https://sass-lang.com/d/moz-document. - , -24 | / @-moz-document domain(#{sa + ss}-lang.com) { -25 | | a {type: unquoted partial domain} -26 | \ } - ' - -DEPRECATION WARNING on line 27, column 1 of input.scss: -@-moz-document is deprecated and support will be removed in Dart Sass 2.0.0. - -For details, see https://sass-lang.com/d/moz-document. - , -27 | / @-moz-document domain("#{sa + ss}-lang.com") { -28 | | a {type: quoted partial domain} -29 | \ } - ' - -DEPRECATION WARNING on line 31, column 1 of input.scss: -@-moz-document is deprecated and support will be removed in Dart Sass 2.0.0. - -For details, see https://sass-lang.com/d/moz-document. - , -31 | / @-moz-document regexp("#{ht + tp}s:.*") { -32 | | a {type: regexp} -33 | \ } - ' diff --git a/spec/css/moz_document/functions/static.hrx b/spec/css/moz_document/functions/static.hrx index 83ffbb1bc..59cccd7f7 100644 --- a/spec/css/moz_document/functions/static.hrx +++ b/spec/css/moz_document/functions/static.hrx @@ -111,23 +111,3 @@ For details, see https://sass-lang.com/d/moz-document. 16 | | a {type: unquoted domain} 17 | \ } ' - -DEPRECATION WARNING on line 18, column 1 of input.scss: -@-moz-document is deprecated and support will be removed in Dart Sass 2.0.0. - -For details, see https://sass-lang.com/d/moz-document. - , -18 | / @-moz-document domain("sass-lang.com") { -19 | | a {type: quoted domain} -20 | \ } - ' - -DEPRECATION WARNING on line 22, column 1 of input.scss: -@-moz-document is deprecated and support will be removed in Dart Sass 2.0.0. - -For details, see https://sass-lang.com/d/moz-document. - , -22 | / @-moz-document regexp("https:.*") { -23 | | a {type: regexp} -24 | \ } - ' diff --git a/spec/libsass-closed-issues/issue_759.hrx b/spec/libsass-closed-issues/issue_759.hrx index fc60c435e..7a926b0f1 100644 --- a/spec/libsass-closed-issues/issue_759.hrx +++ b/spec/libsass-closed-issues/issue_759.hrx @@ -63,62 +63,6 @@ This will be an error in Dart Sass 2.0.0. | ^^^^^^^ ' -DEPRECATION WARNING on line 4, column 26 of input.scss: -!global should only be written once for each variable. -This will be an error in Dart Sass 2.0.0. - , -4 | $d: 40px !global !global !global !default !default !default; - | ^^^^^^^ - ' - -DEPRECATION WARNING on line 4, column 43 of input.scss: -!default should only be written once for each variable. -This will be an error in Dart Sass 2.0.0. - , -4 | $d: 40px !global !global !global !default !default !default; - | ^^^^^^^^ - ' - -DEPRECATION WARNING on line 4, column 52 of input.scss: -!default should only be written once for each variable. -This will be an error in Dart Sass 2.0.0. - , -4 | $d: 40px !global !global !global !default !default !default; - | ^^^^^^^^ - ' - -DEPRECATION WARNING on line 5, column 27 of input.scss: -!global should only be written once for each variable. -This will be an error in Dart Sass 2.0.0. - , -5 | $e: 50px !global !default !global !default !global !default; - | ^^^^^^^ - ' - -DEPRECATION WARNING on line 5, column 35 of input.scss: -!default should only be written once for each variable. -This will be an error in Dart Sass 2.0.0. - , -5 | $e: 50px !global !default !global !default !global !default; - | ^^^^^^^^ - ' - -DEPRECATION WARNING on line 5, column 44 of input.scss: -!global should only be written once for each variable. -This will be an error in Dart Sass 2.0.0. - , -5 | $e: 50px !global !default !global !default !global !default; - | ^^^^^^^ - ' - -DEPRECATION WARNING on line 5, column 52 of input.scss: -!default should only be written once for each variable. -This will be an error in Dart Sass 2.0.0. - , -5 | $e: 50px !global !default !global !default !global !default; - | ^^^^^^^^ - ' - DEPRECATION WARNING: As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables. Since this assignment is at the root of the stylesheet, the !global flag is diff --git a/spec/libsass/bourbon.hrx b/spec/libsass/bourbon.hrx index 78b89873d..b7164b3da 100644 --- a/spec/libsass/bourbon.hrx +++ b/spec/libsass/bourbon.hrx @@ -1977,420 +1977,6 @@ More info and automated migrator: https://sass-lang.com/d/import | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ' -DEPRECATION WARNING on line 6, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -6 | @import "helpers/radial-positions-parser"; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 7, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -7 | @import "helpers/render-gradients"; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 8, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -8 | @import "helpers/shape-size-stripper"; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 11, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -11 | @import "functions/compact"; - | ^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 12, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -12 | @import "functions/flex-grid"; - | ^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 13, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -13 | @import "functions/grid-width"; - | ^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 14, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -14 | @import "functions/linear-gradient"; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 15, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -15 | @import "functions/modular-scale"; - | ^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 16, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -16 | @import "functions/px-to-em"; - | ^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 17, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -17 | @import "functions/radial-gradient"; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 18, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -18 | @import "functions/tint-shade"; - | ^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 19, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -19 | @import "functions/transition-property-name"; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 22, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -22 | @import "css3/animation"; - | ^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 23, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -23 | @import "css3/appearance"; - | ^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 24, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -24 | @import "css3/backface-visibility"; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 25, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -25 | @import "css3/background"; - | ^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 26, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -26 | @import "css3/background-image"; - | ^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 27, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -27 | @import "css3/border-image"; - | ^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 28, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -28 | @import "css3/border-radius"; - | ^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 29, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -29 | @import "css3/box-sizing"; - | ^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 30, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -30 | @import "css3/columns"; - | ^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 31, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -31 | @import "css3/flex-box"; - | ^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 32, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -32 | @import "css3/font-face"; - | ^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 33, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -33 | @import "css3/hidpi-media-query"; - | ^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 34, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -34 | @import "css3/image-rendering"; - | ^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 35, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -35 | @import "css3/inline-block"; - | ^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 36, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -36 | @import "css3/keyframes"; - | ^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 37, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -37 | @import "css3/linear-gradient"; - | ^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 38, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -38 | @import "css3/perspective"; - | ^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 39, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -39 | @import "css3/radial-gradient"; - | ^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 40, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -40 | @import "css3/transform"; - | ^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 41, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -41 | @import "css3/transition"; - | ^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 42, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -42 | @import "css3/user-select"; - | ^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 43, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -43 | @import "css3/placeholder"; - | ^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 46, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -46 | @import "addons/button"; - | ^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 47, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -47 | @import "addons/clearfix"; - | ^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 48, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -48 | @import "addons/font-family"; - | ^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 49, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -49 | @import "addons/hide-text"; - | ^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 50, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -50 | @import "addons/html5-input-types"; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 51, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -51 | @import "addons/position"; - | ^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 52, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -52 | @import "addons/prefixer"; - | ^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 53, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -53 | @import "addons/retina-image"; - | ^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 54, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -54 | @import "addons/size"; - | ^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 55, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -55 | @import "addons/timing-functions"; - | ^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 56, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -56 | @import "addons/triangle"; - | ^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 59, column 9 of lib/_bourbon.scss: -Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. - -More info and automated migrator: https://sass-lang.com/d/import - , -59 | @import "bourbon-deprecated-upcoming"; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0. Use string.unquote instead. diff --git a/spec/non_conformant/parser/operations/addition/dimensions/pairs.hrx b/spec/non_conformant/parser/operations/addition/dimensions/pairs.hrx index 2adcf765b..6b277e609 100644 --- a/spec/non_conformant/parser/operations/addition/dimensions/pairs.hrx +++ b/spec/non_conformant/parser/operations/addition/dimensions/pairs.hrx @@ -269,307 +269,3 @@ More info and automated migrator: https://sass-lang.com/d/strict-unary 19 | test-18: 10 +10#{px}; | ^^^^^^ ' - -DEPRECATION WARNING on line 23, column 12 of input.scss: -This operation is parsed as: - - 10 + 10 - -but you may have intended it to mean: - - 10 (+10) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -23 | test-22: 10 +10#{p}x; - | ^^^^^^ - ' - -DEPRECATION WARNING on line 27, column 12 of input.scss: -This operation is parsed as: - - 10px + 10px - -but you may have intended it to mean: - - 10px (+10px) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -27 | test-26: 10px +10px; - | ^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 31, column 12 of input.scss: -This operation is parsed as: - - 10px + #{10}px - -but you may have intended it to mean: - - 10px (+#{10}px) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -31 | test-30: 10px +#{10}px; - | ^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 35, column 12 of input.scss: -This operation is parsed as: - - 10px + 1 - -but you may have intended it to mean: - - 10px (+1) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -35 | test-34: 10px +1#{0}px; - | ^^^^^^^ - ' - -DEPRECATION WARNING on line 39, column 12 of input.scss: -This operation is parsed as: - - 10px + 10 - -but you may have intended it to mean: - - 10px (+10) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -39 | test-38: 10px +10#{px}; - | ^^^^^^^^ - ' - -DEPRECATION WARNING on line 43, column 12 of input.scss: -This operation is parsed as: - - 10px + 10 - -but you may have intended it to mean: - - 10px (+10) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -43 | test-42: 10px +10#{p}x; - | ^^^^^^^^ - ' - -DEPRECATION WARNING on line 47, column 12 of input.scss: -This operation is parsed as: - - #{10}px + #{10}px - -but you may have intended it to mean: - - #{10}px (+#{10}px) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -47 | test-46: #{10}px +#{10}px; - | ^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 51, column 12 of input.scss: -This operation is parsed as: - - #{10}px + 1 - -but you may have intended it to mean: - - #{10}px (+1) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -51 | test-50: #{10}px +1#{0}px; - | ^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 55, column 12 of input.scss: -This operation is parsed as: - - #{10}px + 10 - -but you may have intended it to mean: - - #{10}px (+10) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -55 | test-54: #{10}px +10#{px}; - | ^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 59, column 12 of input.scss: -This operation is parsed as: - - #{10}px + 10 - -but you may have intended it to mean: - - #{10}px (+10) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -59 | test-58: #{10}px +10#{p}x; - | ^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 63, column 13 of input.scss: -This operation is parsed as: - - #{0}px + 1 - -but you may have intended it to mean: - - #{0}px (+1) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -63 | test-62: 1#{0}px +1#{0}px; - | ^^^^^^^^^ - ' - -DEPRECATION WARNING on line 67, column 13 of input.scss: -This operation is parsed as: - - #{0}px + 10 - -but you may have intended it to mean: - - #{0}px (+10) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -67 | test-66: 1#{0}px +10#{px}; - | ^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 71, column 13 of input.scss: -This operation is parsed as: - - #{0}px + 10 - -but you may have intended it to mean: - - #{0}px (+10) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -71 | test-70: 1#{0}px +10#{p}x; - | ^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 75, column 14 of input.scss: -This operation is parsed as: - - #{px} + 10 - -but you may have intended it to mean: - - #{px} (+10) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -75 | test-74: 10#{px} +10#{px}; - | ^^^^^^^^^ - ' - -DEPRECATION WARNING on line 79, column 14 of input.scss: -This operation is parsed as: - - #{px} + 10 - -but you may have intended it to mean: - - #{px} (+10) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -79 | test-78: 10#{px} +10#{p}x; - | ^^^^^^^^^ - ' - -DEPRECATION WARNING on line 83, column 14 of input.scss: -This operation is parsed as: - - #{p}x + 10 - -but you may have intended it to mean: - - #{p}x (+10) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -83 | test-82: 10#{p}x +10#{p}x; - | ^^^^^^^^^ - ' diff --git a/spec/non_conformant/parser/operations/addition/numbers/pairs.hrx b/spec/non_conformant/parser/operations/addition/numbers/pairs.hrx index f74b0d104..5b2c8cee1 100644 --- a/spec/non_conformant/parser/operations/addition/numbers/pairs.hrx +++ b/spec/non_conformant/parser/operations/addition/numbers/pairs.hrx @@ -181,98 +181,3 @@ More info and automated migrator: https://sass-lang.com/d/strict-unary 19 | test-18: #{10} +#{10}; | ^^^^^^^^^^^^ ' - -DEPRECATION WARNING on line 23, column 12 of input.scss: -This operation is parsed as: - - #{10} + 1 - -but you may have intended it to mean: - - #{10} (+1) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -23 | test-22: #{10} +1#{0}; - | ^^^^^^^^ - ' - -DEPRECATION WARNING on line 27, column 12 of input.scss: -This operation is parsed as: - - #{10} + #{1}0 - -but you may have intended it to mean: - - #{10} (+#{1}0) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -27 | test-26: #{10} +#{1}0; - | ^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 31, column 13 of input.scss: -This operation is parsed as: - - #{0} + 1 - -but you may have intended it to mean: - - #{0} (+1) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -31 | test-30: 1#{0} +1#{0}; - | ^^^^^^^ - ' - -DEPRECATION WARNING on line 35, column 13 of input.scss: -This operation is parsed as: - - #{0} + #{1}0 - -but you may have intended it to mean: - - #{0} (+#{1}0) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -35 | test-34: 1#{0} +#{1}0; - | ^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 39, column 12 of input.scss: -This operation is parsed as: - - #{1}0 + #{1}0 - -but you may have intended it to mean: - - #{1}0 (+#{1}0) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -39 | test-38: #{1}0 +#{1}0; - | ^^^^^^^^^^^^ - ' diff --git a/spec/non_conformant/parser/operations/addition/strings/pairs.hrx b/spec/non_conformant/parser/operations/addition/strings/pairs.hrx index bbec843fd..fb2acf83f 100644 --- a/spec/non_conformant/parser/operations/addition/strings/pairs.hrx +++ b/spec/non_conformant/parser/operations/addition/strings/pairs.hrx @@ -221,193 +221,3 @@ More info and automated migrator: https://sass-lang.com/d/strict-unary 19 | test-18: literal +#{litlp}_rschema; | ^^^^^^^^^^^^^^^^^^^^^^^^^ ' - -DEPRECATION WARNING on line 23, column 12 of input.scss: -This operation is parsed as: - - "quoted" + "quoted" - -but you may have intended it to mean: - - "quoted" (+"quoted") - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -23 | test-22: "quoted" +"quoted"; - | ^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 27, column 12 of input.scss: -This operation is parsed as: - - "quoted" + #{interpolant} - -but you may have intended it to mean: - - "quoted" (+#{interpolant}) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -27 | test-26: "quoted" +#{interpolant}; - | ^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 31, column 12 of input.scss: -This operation is parsed as: - - "quoted" + lschema_#{ritlp} - -but you may have intended it to mean: - - "quoted" (+lschema_#{ritlp}) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -31 | test-30: "quoted" +lschema_#{ritlp}; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 35, column 12 of input.scss: -This operation is parsed as: - - "quoted" + #{litlp}_rschema - -but you may have intended it to mean: - - "quoted" (+#{litlp}_rschema) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -35 | test-34: "quoted" +#{litlp}_rschema; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 39, column 12 of input.scss: -This operation is parsed as: - - #{interpolant} + #{interpolant} - -but you may have intended it to mean: - - #{interpolant} (+#{interpolant}) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -39 | test-38: #{interpolant} +#{interpolant}; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 43, column 12 of input.scss: -This operation is parsed as: - - #{interpolant} + lschema_#{ritlp} - -but you may have intended it to mean: - - #{interpolant} (+lschema_#{ritlp}) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -43 | test-42: #{interpolant} +lschema_#{ritlp}; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 47, column 12 of input.scss: -This operation is parsed as: - - #{interpolant} + #{litlp}_rschema - -but you may have intended it to mean: - - #{interpolant} (+#{litlp}_rschema) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -47 | test-46: #{interpolant} +#{litlp}_rschema; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 51, column 12 of input.scss: -This operation is parsed as: - - lschema_#{ritlp} + lschema_#{ritlp} - -but you may have intended it to mean: - - lschema_#{ritlp} (+lschema_#{ritlp}) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -51 | test-50: lschema_#{ritlp} +lschema_#{ritlp}; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 55, column 12 of input.scss: -This operation is parsed as: - - lschema_#{ritlp} + #{litlp}_rschema - -but you may have intended it to mean: - - lschema_#{ritlp} (+#{litlp}_rschema) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -55 | test-54: lschema_#{ritlp} +#{litlp}_rschema; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 59, column 12 of input.scss: -This operation is parsed as: - - #{litlp}_rschema + #{litlp}_rschema - -but you may have intended it to mean: - - #{litlp}_rschema (+#{litlp}_rschema) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -59 | test-58: #{litlp}_rschema +#{litlp}_rschema; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - ' diff --git a/spec/non_conformant/scss/interpolation-operators-precedence.hrx b/spec/non_conformant/scss/interpolation-operators-precedence.hrx index 63955c30b..05e42ad75 100644 --- a/spec/non_conformant/scss/interpolation-operators-precedence.hrx +++ b/spec/non_conformant/scss/interpolation-operators-precedence.hrx @@ -144,101 +144,6 @@ More info and automated migrator: https://sass-lang.com/d/strict-unary | ^^^^^^^^^^^^^^ ' -DEPRECATION WARNING on line 22, column 9 of input.scss: -This operation is parsed as: - - #{a} + 5% * 2 - -but you may have intended it to mean: - - #{a} (+5% * 2) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -22 | c13: (#{a} +5.0% * 2); - | ^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 26, column 9 of input.scss: -This operation is parsed as: - - 5 + 2% + #{a} - -but you may have intended it to mean: - - 5 + 2% (+#{a}) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -26 | d01: (5 + 2.0% +#{a}); - | ^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 30, column 9 of input.scss: -This operation is parsed as: - - 5 - 2% + #{a} - -but you may have intended it to mean: - - 5 - 2% (+#{a}) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -30 | d05: (5 - 2.0% +#{a}); - | ^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 34, column 9 of input.scss: -This operation is parsed as: - - 5% / 2 + #{a} - -but you may have intended it to mean: - - 5% / 2 (+#{a}) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -34 | d09: (5% / 2.0 +#{a}); - | ^^^^^^^^^^^^^^ - ' - -DEPRECATION WARNING on line 38, column 9 of input.scss: -This operation is parsed as: - - 5 * 2% + #{a} - -but you may have intended it to mean: - - 5 * 2% (+#{a}) - -Add a space after + to clarify that it's meant to be a binary operation, or wrap -it in parentheses to make it a unary operation. This will be an error in future -versions of Sass. - -More info and automated migrator: https://sass-lang.com/d/strict-unary - , -38 | d13: (5 * 2.0% +#{a}); - | ^^^^^^^^^^^^^^ - ' - Error: Undefined operation "a * 5%". , 13 | c04: (#{a} *5.0% + 2);