Index: pkg/analyzer/lib/src/dart/analysis/library_analyzer.dart |
diff --git a/pkg/analyzer/lib/src/dart/analysis/library_analyzer.dart b/pkg/analyzer/lib/src/dart/analysis/library_analyzer.dart |
index c639dce4cc18b8a0d9a64804a91c999c6ad8d9c4..8550184beb5e5ed9f88a1c080e4279fc28f96e91 100644 |
--- a/pkg/analyzer/lib/src/dart/analysis/library_analyzer.dart |
+++ b/pkg/analyzer/lib/src/dart/analysis/library_analyzer.dart |
@@ -272,6 +272,7 @@ class LibraryAnalyzer { |
_typeProvider, |
new StrongTypeSystemImpl(_typeProvider, |
implicitCasts: options.implicitCasts, |
+ declarationCasts: options.declarationCasts, |
nonnullableTypes: options.nonnullableTypes), |
errorListener, |
options); |