Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: pkg/analyzer_cli/lib/src/driver.dart

Issue 1979193010: Fix for analyzer-cli and the new SummaryBasedDartSdk 'strongMode' parameter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer_cli/lib/src/build_mode.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 =
« no previous file with comments | « pkg/analyzer_cli/lib/src/build_mode.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698