Index: pkg/analyzer_cli/lib/src/driver.dart |
diff --git a/pkg/analyzer_cli/lib/src/driver.dart b/pkg/analyzer_cli/lib/src/driver.dart |
index ab624daf9a3a0d380ec7d5093beac463f770fcbf..17ac8773208a1ec912206b3453101a778a6ad312 100644 |
--- a/pkg/analyzer_cli/lib/src/driver.dart |
+++ b/pkg/analyzer_cli/lib/src/driver.dart |
@@ -587,7 +587,8 @@ class Driver implements CommandLineStarter { |
void _setupSdk(CommandLineOptions options) { |
if (sdk == null) { |
if (options.dartSdkSummaryPath != null) { |
- sdk = new SummaryBasedDartSdk(options.dartSdkSummaryPath); |
+ sdk = new SummaryBasedDartSdk( |
+ options.dartSdkSummaryPath, options.strongMode); |
} else { |
String dartSdkPath = options.dartSdkPath; |
DirectoryBasedDartSdk directorySdk = |