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

Unified Diff: pkg/analysis_server/lib/src/protocol.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
Index: pkg/analysis_server/lib/src/protocol.dart
diff --git a/pkg/analysis_server/lib/src/protocol.dart b/pkg/analysis_server/lib/src/protocol.dart
index bc6ccebd19cc85588beffd745cd486a0dbde3768..5e3b33e100b85ad3835f30f8968a3651c46c96c0 100644
--- a/pkg/analysis_server/lib/src/protocol.dart
+++ b/pkg/analysis_server/lib/src/protocol.dart
@@ -98,8 +98,8 @@ AnalysisError _analysisErrorFromEngine(engine.LineInfo lineInfo,
location = new Location(file, offset, length, startLine, startColumn);
}
// done
- var severity = new ErrorSeverity(errorCode.errorSeverity.name);
- var type = new ErrorType(errorCode.type.name);
+ var severity = new AnalysisErrorSeverity(errorCode.errorSeverity.name);
+ var type = new AnalysisErrorType(errorCode.type.name);
String message = error.message;
String correction = error.correction;
return new AnalysisError(
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/test/analysis/get_errors_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698