File tree 1 file changed +9
-4
lines changed
pkg/analyzer/lib/src/utilities 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 3
3
// BSD-style license that can be found in the LICENSE file.
4
4
5
5
/// A flag indicating whether code that opts back to before 2.12 (null safety)
6
- /// is supported.
6
+ /// is unsupported. That is, when the flag is `true` all code is analyzed
7
+ /// assuming that null-safety is required, and when the flag is `false` all code
8
+ /// is analyzed assuming that null-safety is optional.
7
9
///
8
- /// This flag will be removed in Dart 3.0, so it should not be used outside the
9
- /// analyzer package.
10
- const bool noSoundNullSafety = true ;
10
+ /// This flag is only writable in order to allow us to continue to test the
11
+ /// pre-3.0 behavior while developing 3.0.
12
+ ///
13
+ /// This flag will be removed in Dart 3.0 (with an implied value of `true` ), so
14
+ /// it should not be used outside the analyzer package.
15
+ bool noSoundNullSafety = true ;
You can’t perform that action at this time.
0 commit comments