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

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

Issue 1988853002: When in strong mode, analyze with dart2js paths. (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 | « no previous file | 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 a5d862e1ba092b20ee3321b6b7584ed1528c6d4f..cf570d49adb69ec08206e283f4416034cab8b4c8 100644
--- a/pkg/analyzer_cli/lib/src/driver.dart
+++ b/pkg/analyzer_cli/lib/src/driver.dart
@@ -617,8 +617,8 @@ class Driver implements CommandLineStarter {
options.dartSdkSummaryPath, options.strongMode);
} else {
String dartSdkPath = options.dartSdkPath;
- DirectoryBasedDartSdk directorySdk =
- new DirectoryBasedDartSdk(new JavaFile(dartSdkPath));
+ DirectoryBasedDartSdk directorySdk = new DirectoryBasedDartSdk(
+ new JavaFile(dartSdkPath), options.strongMode);
// Summaries are disabled in the presence of embedders.
if (hasEmbedder) {
directorySdk.useSummary = false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698