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

Unified Diff: pkg/analyzer/lib/error/listener.dart

Issue 2706123002: Remove AnalysisErrorWithProperties and ErrorProperty. (Closed)
Patch Set: Created 3 years, 10 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/analyzer/lib/error/error.dart ('k') | pkg/analyzer/lib/src/task/dart.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/error/listener.dart
diff --git a/pkg/analyzer/lib/error/listener.dart b/pkg/analyzer/lib/error/listener.dart
index 1f75fcb1b1f2366688cb53b5f61b1e00c3517311..db9abf4570f8494a07be53e194ef28b0b7c0d047 100644
--- a/pkg/analyzer/lib/error/listener.dart
+++ b/pkg/analyzer/lib/error/listener.dart
@@ -98,15 +98,6 @@ class ErrorReporter {
}
/**
- * Creates an error with properties with the given [errorCode] and
- * [arguments]. The [node] is used to compute the location of the error.
- */
- AnalysisErrorWithProperties newErrorWithProperties(
- ErrorCode errorCode, AstNode node, List<Object> arguments) =>
- new AnalysisErrorWithProperties(
- _source, node.offset, node.length, errorCode, arguments);
-
- /**
* Report the given [error].
*/
void reportError(AnalysisError error) {
« no previous file with comments | « pkg/analyzer/lib/error/error.dart ('k') | pkg/analyzer/lib/src/task/dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698