Skip to content

Commit 368cb64

Browse files
nshahanCommit Queue
authored andcommitted
[ddc] Enable sound null safety by default
In the expression compiler worker. It appears all uses manually pass the flag and this is just preparation to remove it in the future. Change-Id: Iad0edfbcab28194b4ffcb520db89943c6239753b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/388745 Commit-Queue: Nicholas Shahan <[email protected]> Reviewed-by: Sigmund Cherem <[email protected]>
1 parent 571b598 commit 368cb64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/dev_compiler/lib/src/kernel/expression_compiler_worker.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ class ExpressionCompilerWorker {
218218
Map<ExperimentalFlag, bool> explicitExperimentalFlags = const {},
219219
Uri? sdkRoot,
220220
bool trackWidgetCreation = false,
221-
bool soundNullSafety = false,
221+
bool soundNullSafety = true,
222222
ModuleFormat moduleFormat = ModuleFormat.amd,
223223
bool canaryFeatures = false,
224224
bool enableAsserts = true,

0 commit comments

Comments
 (0)