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

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

Issue 9692002: Step back and remove more getNode() invocations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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 024653595f4dd45ed2fcbb906cd128fbdb1ac357..ff699398286c0cf30213affa15e9a6ce4bec56bc 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ResolutionErrorListener.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolutionErrorListener.java
@@ -5,9 +5,9 @@
package com.google.dart.compiler.resolver;
import com.google.dart.compiler.ErrorCode;
-import com.google.dart.compiler.ast.DartNode;
+import com.google.dart.compiler.common.HasSourceInfo;
public interface ResolutionErrorListener {
- void onError(DartNode node, ErrorCode errorCode, Object... arguments);
+ void onError(HasSourceInfo hasSourceInfo, ErrorCode errorCode, Object... arguments);
}

Powered by Google App Engine
This is Rietveld 408576698