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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/ResolutionErrorListener.java

Issue 8395013: DartC User Warning Framework (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use new ErrorCode enums in single onError() method. Created 9 years, 2 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: compiler/java/com/google/dart/compiler/resolver/ResolutionErrorListener.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/ResolutionErrorListener.java b/compiler/java/com/google/dart/compiler/resolver/ResolutionErrorListener.java
index d92e36a5f58e9409eb09b6405f331e91f24ad8c4..024653595f4dd45ed2fcbb906cd128fbdb1ac357 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ResolutionErrorListener.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolutionErrorListener.java
@@ -9,7 +9,5 @@ import com.google.dart.compiler.ast.DartNode;
public interface ResolutionErrorListener {
- void resolutionError(DartNode node, ErrorCode errorCode, Object... arguments);
-
- void typeError(DartNode node, ErrorCode errorCode, Object... arguments);
+ void onError(DartNode node, ErrorCode errorCode, Object... arguments);
}

Powered by Google App Engine
This is Rietveld 408576698