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 f01502e134412c07a2a90f4361f982509a67206f..98f98d1062a77a2c31f5611212bbc6967fd9e021 100644 |
--- a/pkg/analyzer_cli/lib/src/build_mode.dart |
+++ b/pkg/analyzer_cli/lib/src/build_mode.dart |
@@ -245,8 +245,8 @@ class BuildMode { |
DartSdk sdk; |
PackageBundle sdkBundle; |
if (options.dartSdkSummaryPath != null) { |
- SummaryBasedDartSdk summarySdk = |
- new SummaryBasedDartSdk(options.dartSdkSummaryPath); |
+ SummaryBasedDartSdk summarySdk = new SummaryBasedDartSdk( |
+ options.dartSdkSummaryPath, options.strongMode); |
sdk = summarySdk; |
sdkBundle = summarySdk.bundle; |
} else { |