Index: pkg/analyzer/lib/src/task/options.dart |
diff --git a/pkg/analyzer/lib/src/task/options.dart b/pkg/analyzer/lib/src/task/options.dart |
index 6995b2af3f37d9c8045f0fb3e76c748bff32b12a..050d3bce27f8843cf8cde03cf5f6bde82a5fa1f5 100644 |
--- a/pkg/analyzer/lib/src/task/options.dart |
+++ b/pkg/analyzer/lib/src/task/options.dart |
@@ -538,7 +538,7 @@ class _OptionsProcessor { |
if (feature == AnalyzerOptions.enableAssertInitializer) { |
options.enableAssertInitializer = boolValue; |
} else if (feature == AnalyzerOptions.enableStrictCallChecks) { |
- options.enableStrictCallChecks = true; |
+ options.enableStrictCallChecks = boolValue; |
} else if (feature == AnalyzerOptions.enableSuperMixins) { |
options.enableSuperMixins = boolValue; |
} |