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

Unified Diff: pkg/analysis_server/lib/src/edit/edit_domain.dart

Issue 531153002: Clarify type names in analysis server API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/doc/api.html ('k') | pkg/analysis_server/lib/src/generated_protocol.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/edit/edit_domain.dart
diff --git a/pkg/analysis_server/lib/src/edit/edit_domain.dart b/pkg/analysis_server/lib/src/edit/edit_domain.dart
index 7c3cccb8c7f23c3b4638dc8a677a2b0f50c16a20..901cffd03b72c4aef83807628eb3d6c56cf37cdd 100644
--- a/pkg/analysis_server/lib/src/edit/edit_domain.dart
+++ b/pkg/analysis_server/lib/src/edit/edit_domain.dart
@@ -97,7 +97,7 @@ class EditDomainHandler implements RequestHandler {
String file = params.file;
int offset = params.offset;
// add fixes
- List<ErrorFixes> errorFixesList = <ErrorFixes>[];
+ List<AnalysisErrorFixes> errorFixesList = <AnalysisErrorFixes>[];
List<CompilationUnit> units = server.getResolvedCompilationUnits(file);
for (CompilationUnit unit in units) {
engine.AnalysisErrorInfo errorInfo = server.getErrors(file);
@@ -111,7 +111,7 @@ class EditDomainHandler implements RequestHandler {
if (fixes.isNotEmpty) {
AnalysisError serverError =
new AnalysisError.fromEngine(lineInfo, error);
- ErrorFixes errorFixes = new ErrorFixes(serverError);
+ AnalysisErrorFixes errorFixes = new AnalysisErrorFixes(serverError);
errorFixesList.add(errorFixes);
fixes.forEach((fix) {
errorFixes.addFix(fix);
« no previous file with comments | « pkg/analysis_server/doc/api.html ('k') | pkg/analysis_server/lib/src/generated_protocol.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698