Index: pkg/analyzer/lib/src/context/context.dart |
diff --git a/pkg/analyzer/lib/src/context/context.dart b/pkg/analyzer/lib/src/context/context.dart |
index ce82af684c8aeb2b52a458723b373ae44c4f61fc..1cc85bc78fb68f3fefd6e2955af936555a2cb5d0 100644 |
--- a/pkg/analyzer/lib/src/context/context.dart |
+++ b/pkg/analyzer/lib/src/context/context.dart |
@@ -271,6 +271,9 @@ class AnalysisContextImpl implements InternalAnalysisContext { |
((options is AnalysisOptionsImpl) |
? this._options.strongModeHints != options.strongModeHints |
: false) || |
+ ((options is AnalysisOptionsImpl) |
+ ? this._options.implicitCasts != options.implicitCasts |
+ : false) || |
this._options.enableStrictCallChecks != |
options.enableStrictCallChecks || |
this._options.enableGenericMethods != options.enableGenericMethods || |
@@ -301,6 +304,7 @@ class AnalysisContextImpl implements InternalAnalysisContext { |
this._options.trackCacheDependencies = options.trackCacheDependencies; |
if (options is AnalysisOptionsImpl) { |
this._options.strongModeHints = options.strongModeHints; |
+ this._options.implicitCasts = options.implicitCasts; |
} |
if (needsRecompute) { |
for (WorkManager workManager in workManagers) { |