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

Unified Diff: bin/edit_files.dart

Issue 1174643003: expose strong checker API, for use by analyzer_cli (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 6 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 | « bin/devc.dart ('k') | lib/config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/edit_files.dart
diff --git a/bin/edit_files.dart b/bin/edit_files.dart
index 384a2e4d9cd3ddcf5afe2e346843e19ee2c4943a..1d95b4442353dacdc659e3b2d3333956d30df899 100644
--- a/bin/edit_files.dart
+++ b/bin/edit_files.dart
@@ -135,7 +135,7 @@ void main(List<String> argv) {
}
var filename = args.rest.first;
- var options = new CompilerOptions(
+ var options = new SourceResolverOptions(
dartSdkPath: sdkDir.path,
useMultiPackage: args['use-multi-package'],
packageRoot: args['package-root'],
@@ -150,7 +150,8 @@ void main(List<String> argv) {
? new RegExp(args['include-pattern'])
: null;
- var context = createAnalysisContext(options);
+ var context =
+ createAnalysisContextWithSources(new StrongModeOptions(), options);
var visitor = new EditFileSummaryVisitor(context, args['level'],
args['checkout-files-executable'], args['checkout-files-arg'],
includePattern, excludePattern);
« no previous file with comments | « bin/devc.dart ('k') | lib/config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698