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

Unified Diff: pkg/analysis_server/lib/plugin/edit/fix/fix_dart.dart

Issue 1582613010: Use getResolvedCompilationUnit2() instead of resolveCompilationUnit2() in QuickAssist and QuickFix … (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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/analysis_server/lib/plugin/edit/assist/assist_dart.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/plugin/edit/fix/fix_dart.dart
diff --git a/pkg/analysis_server/lib/plugin/edit/fix/fix_dart.dart b/pkg/analysis_server/lib/plugin/edit/fix/fix_dart.dart
index e8f7104e305e142f06a87c5d6f7cff09b38174a1..6ef1bed2ab6cd45863779bc3aaeecfb5bfc3de9e 100644
--- a/pkg/analysis_server/lib/plugin/edit/fix/fix_dart.dart
+++ b/pkg/analysis_server/lib/plugin/edit/fix/fix_dart.dart
@@ -44,7 +44,7 @@ abstract class DartFixContributor implements FixContributor {
return Fix.EMPTY_LIST;
}
CompilationUnit unit =
- analysisContext.resolveCompilationUnit2(source, libraries[0]);
+ analysisContext.getResolvedCompilationUnit2(source, libraries[0]);
if (unit == null) {
return Fix.EMPTY_LIST;
}
« no previous file with comments | « pkg/analysis_server/lib/plugin/edit/assist/assist_dart.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698