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 f32871be67d8b8fe8cadbcc3f636a7293b193f93..75cd59d1fb5f5d68aed7211c00b876739e1d1bda 100644 |
--- a/pkg/analyzer/lib/src/task/dart.dart |
+++ b/pkg/analyzer/lib/src/task/dart.dart |
@@ -5490,6 +5490,7 @@ class StrongModeVerifyUnitTask extends SourceBasedAnalysisTask { |
typeProvider, |
new StrongTypeSystemImpl(typeProvider, |
implicitCasts: options.implicitCasts, |
+ declarationCasts: options.declarationCasts, |
nonnullableTypes: options.nonnullableTypes), |
errorListener, |
options); |