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

Unified Diff: compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java

Issue 10562013: Issue 3643. Changes for review comments (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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/type/TypeAnalyzer.java
diff --git a/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java b/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
index 2b1c6c5b6077bff1ee6ad84e10bcb8cdb6f842f1..733885d55f14a1f90d28d4dfff4af0622fed8fdd 100644
--- a/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
+++ b/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
@@ -2120,7 +2120,7 @@ public class TypeAnalyzer implements DartCompilationPhase {
type = typeAsMemberOf(element, currentClass);
break;
case NONE:
- if (!target.hasResolutionError()) {
+ if (!target.isResolutionAlreadyReportedThatTheMethodCouldNotBeFound()) {
onError(target, TypeErrorCode.INTERFACE_HAS_NO_METHOD_NAMED, currentClass, target);
}
return dynamicType;

Powered by Google App Engine
This is Rietveld 408576698