1<===> options.yml
2---
3:warning_todo:
4- sass/libsass#2834
5
6<===> input.scss
7$root_default: initial;
8$root_implicit: initial;
9$root_explicit: initial !global;
10
11@if true {
12  $root_implicit: outer;
13  $root_explicit: outer !global;
14  $root_default: outer !default;
15  $local_implicit: outer;
16  $local_explicit: outer !global;
17  $local_default: outer !default;
18  @if true {
19    $root_implicit: inner;
20    $root_explicit: inner !global;
21    $root_default: inner !default;
22    $local_implicit: inner;
23    $local_explicit: inner !global;
24    $local_default: inner !default;
25  }
26}
27
28result {
29  root_default: $root_default;
30  root_implicit: $root_implicit;
31  root_explicit: $root_explicit;
32  @if variable-exists(local_default) {
33    local_default: $local_default;
34  }
35  @if variable-exists(local_implicit) {
36    local_implicit: $local_implicit;
37  }
38  @if variable-exists(local_explicit) {
39    local_explicit: $local_explicit;
40  }
41}
42
43<===> output.css
44result {
45  root_default: initial;
46  root_implicit: inner;
47  root_explicit: inner;
48  local_explicit: inner;
49}
50
51<===> warning
52DEPRECATION WARNING: As of Dart Sass 2.0.0, !global assignments won't be able to
53declare new variables. Since this assignment is at the root of the stylesheet,
54the !global flag is unnecessary and can safely be removed.
55
56  ,
573 | $root_explicit: initial !global;
58  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
59  '
60    input.scss 3:1  root stylesheet
61
62DEPRECATION WARNING: As of Dart Sass 2.0.0, !global assignments won't be able to
63declare new variables. Consider adding `$local_explicit: null` at the root of the
64stylesheet.
65
66   ,
6710 |   $local_explicit: outer !global;
68   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
69   '
70    input.scss 10:3  root stylesheet
71