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

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

Issue 10627017: Removes compile-time error from implementing the same interface more than once (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/resolver/Resolver.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/Resolver.java b/compiler/java/com/google/dart/compiler/resolver/Resolver.java
index 1c9192eccce50f33697e097d33a4c0acae6552f8..0641384838ac17e259ba1914351601be2b47ee2f 100644
--- a/compiler/java/com/google/dart/compiler/resolver/Resolver.java
+++ b/compiler/java/com/google/dart/compiler/resolver/Resolver.java
@@ -264,11 +264,7 @@ public class Resolver {
errorTarget = cls;
}
onError(errorTarget, ResolverErrorCode.CYCLIC_CLASS, e.getElement().getName());
- } catch (DuplicatedInterfaceException e) {
- onError(cls, ResolverErrorCode.DUPLICATED_INTERFACE,
- e.getFirst(), e.getSecond());
}
-
checkClassTypeVariables(classElement);
// Push new resolution context.

Powered by Google App Engine
This is Rietveld 408576698