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

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

Issue 2523313002: Fix the setting of analysis options when there is an embedded SDK (Closed)
Patch Set: Created 4 years, 1 month 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 aef22111d8cbe946c402a312bee5ee65989d2140..386a95dbeb29e840e4bf4011c8d7ca8430a84562 100644
--- a/pkg/analyzer_cli/lib/src/driver.dart
+++ b/pkg/analyzer_cli/lib/src/driver.dart
@@ -415,6 +415,7 @@ class Driver implements CommandLineStarter {
} else {
// The embedder uri resolver has mappings, use it instead of the default
// Dart SDK uri resolver.
+ embedderSdk.analysisOptions = _context.analysisOptions;
resolvers.add(new DartUriResolver(embedderSdk));
}
« 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