Index: pkg/analyzer_cli/lib/src/build_mode.dart |
diff --git a/pkg/analyzer_cli/lib/src/build_mode.dart b/pkg/analyzer_cli/lib/src/build_mode.dart |
index 658b25196946ec0047d8552875356359794d403f..869a87e93c06f226e8bc9057f51099d1bbc98f53 100644 |
--- a/pkg/analyzer_cli/lib/src/build_mode.dart |
+++ b/pkg/analyzer_cli/lib/src/build_mode.dart |
@@ -325,12 +325,7 @@ class BuildMode { |
]); |
// Set context options. |
- Driver.setAnalysisContextOptions(resourceProvider, context, options, |
- (AnalysisOptionsImpl contextOptions) { |
- if (options.buildSummaryOnlyDiet) { |
- contextOptions.analyzeFunctionBodies = false; |
- } |
- }); |
+ Driver.setAnalysisContextOptions(resourceProvider, context, options); |
if (!options.buildSummaryOnly) { |
// Configure using summaries. |