@@ -211,10 +211,10 @@ More info and automated migrator: https://sass-lang.com/d/import
211
211
/* Y */
212
212
213
213
<===> with_comment/_b.scss
214
- @import 'a'
214
+ @import 'a';
215
215
216
216
<===> with_comment/_c.scss
217
- @import 'a'
217
+ @import 'a';
218
218
219
219
<===> with_comment/output.css
220
220
/* Y */
@@ -246,7 +246,7 @@ DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be remo
246
246
More info and automated migrator: https://sass-lang.com/d/import
247
247
248
248
,
249
- 1 | @import 'a'
249
+ 1 | @import 'a';
250
250
| ^^^
251
251
'
252
252
_b.scss 1:9 @import
@@ -257,8 +257,99 @@ DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be remo
257
257
More info and automated migrator: https://sass-lang.com/d/import
258
258
259
259
,
260
- 1 | @import 'a'
260
+ 1 | @import 'a';
261
261
| ^^^
262
262
'
263
263
_c.scss 1:9 @import
264
264
input.scss 2:9 root stylesheet
265
+
266
+ <===>
267
+ ================================================================================
268
+ <===> top_level_include_declaration/README.md
269
+ These are regression tests for https://github.com/sass/dart-sass/issues/2588.
270
+
271
+ <===>
272
+ ================================================================================
273
+ <===> top_level_include_declaration/without_use/input.scss
274
+ .a {
275
+ @import 'upstream';
276
+ }
277
+
278
+ <===> top_level_include_declaration/without_use/_upstream.scss
279
+ @mixin a { b: c }
280
+ @include a;
281
+
282
+ <===> top_level_include_declaration/without_use/output.css
283
+ .a {
284
+ b: c;
285
+ }
286
+
287
+ <===> top_level_include_declaration/without_use/warning
288
+ DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
289
+ More info and automated migrator: https://sass-lang.com/d/import
290
+ ,
291
+ 2 | @import 'upstream';
292
+ | ^^^^^^^^^^
293
+ '
294
+ input.scss 2:11 root stylesheet
295
+
296
+ <===>
297
+ ================================================================================
298
+ <===> top_level_include_declaration/with_use/input.scss
299
+ .a {
300
+ @import 'upstream';
301
+ }
302
+
303
+ <===> top_level_include_declaration/with_use/_upstream.scss
304
+ @use 'other';
305
+ @mixin a { b: c }
306
+ @include a;
307
+
308
+ <===> top_level_include_declaration/with_use/other.scss
309
+ // Intentionally empty.
310
+
311
+ <===> top_level_include_declaration/with_use/output.css
312
+ .a {
313
+ b: c;
314
+ }
315
+
316
+ <===> top_level_include_declaration/with_use/warning
317
+ DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
318
+ More info and automated migrator: https://sass-lang.com/d/import
319
+ ,
320
+ 2 | @import 'upstream';
321
+ | ^^^^^^^^^^
322
+ '
323
+ input.scss 2:11 root stylesheet
324
+
325
+ <===>
326
+ ================================================================================
327
+ <===> top_level_include_declaration/with_use/two_levels_deep/input.scss
328
+ .a {
329
+ @import 'upstream1';
330
+ }
331
+
332
+ <===> top_level_include_declaration/with_use/two_levels_deep/_upstream1.scss
333
+ @import 'upstream2';
334
+
335
+ <===> top_level_include_declaration/with_use/two_levels_deep/_upstream2.scss
336
+ @use 'other';
337
+ @mixin a { b: c }
338
+ @include a;
339
+
340
+ <===> top_level_include_declaration/with_use/two_levels_deep/other.scss
341
+ // Intentionally empty.
342
+
343
+ <===> top_level_include_declaration/with_use/two_levels_deep/output.css
344
+ .a {
345
+ b: c;
346
+ }
347
+
348
+ <===> top_level_include_declaration/with_use/two_levels_deep/warning
349
+ DEPRECATION WARNING [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
350
+ More info and automated migrator: https://sass-lang.com/d/import
351
+ ,
352
+ 2 | @import 'upstream';
353
+ | ^^^^^^^^^^
354
+ '
355
+ input.scss 2:11 root stylesheet
0 commit comments