Index: pkg/analyzer/lib/src/task/dart.dart |
diff --git a/pkg/analyzer/lib/src/task/dart.dart b/pkg/analyzer/lib/src/task/dart.dart |
index ab48c89d7ece05c0637ec1b25deb8640ce23f454..4ff2448fed81fd5929db03745844d9fc6cb73db6 100644 |
--- a/pkg/analyzer/lib/src/task/dart.dart |
+++ b/pkg/analyzer/lib/src/task/dart.dart |
@@ -6269,7 +6269,9 @@ class StrongModeVerifyUnitTask extends SourceBasedAnalysisTask { |
if (options.strongMode) { |
CodeChecker checker = new CodeChecker( |
typeProvider, |
- new StrongTypeSystemImpl(implicitCasts: options.implicitCasts), |
+ new StrongTypeSystemImpl( |
+ implicitCasts: options.implicitCasts, |
+ nonnullableTypes: options.nonnullableTypes), |
errorListener, |
options); |
checker.visitCompilationUnit(unit); |