From 5bcb7471a65a7913fb968bd121276f858ec573a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Israel=20Ortiz=20Garc=C3=ADa?= Date: Wed, 12 Jul 2023 13:17:20 -0700 Subject: [PATCH 1/3] Add regression test for sass/dart-sass#2023 --- .../custom_properties/name_interpolation.hrx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/spec/css/custom_properties/name_interpolation.hrx b/spec/css/custom_properties/name_interpolation.hrx index 63a811a989..06491fc77d 100644 --- a/spec/css/custom_properties/name_interpolation.hrx +++ b/spec/css/custom_properties/name_interpolation.hrx @@ -45,3 +45,20 @@ a { a { --b-c: d; } + +<===> +================================================================================ +<===> import_nesting_use/input.scss +// Regression test for sass/dart-sass#2023 +@import 'foo'; + +<===> import_nesting_use/foo.scss +@use 'bar'; + +<===> import_nesting_use/bar.scss +a { #{--}: b c } + +<===> import_nesting_use/output.css +a { + --: b c; +} From 6f898e23a8658e5dadd6241af7212b469e9365c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Israel=20Ortiz=20Garc=C3=ADa?= Date: Wed, 12 Jul 2023 13:23:31 -0700 Subject: [PATCH 2/3] ping CI From 6cc57eb7c7ff1bb3008bdd8f595a686864e79e94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Israel=20Ortiz=20Garc=C3=ADa?= Date: Wed, 12 Jul 2023 13:32:10 -0700 Subject: [PATCH 3/3] ignore for libsas because of @use --- spec/css/custom_properties/name_interpolation.hrx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/css/custom_properties/name_interpolation.hrx b/spec/css/custom_properties/name_interpolation.hrx index 06491fc77d..afc74e07e6 100644 --- a/spec/css/custom_properties/name_interpolation.hrx +++ b/spec/css/custom_properties/name_interpolation.hrx @@ -48,6 +48,10 @@ a { <===> ================================================================================ +<===> import_nesting_use/options.yml +:ignore_for: +- libsass + <===> import_nesting_use/input.scss // Regression test for sass/dart-sass#2023 @import 'foo';