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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.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/TypeErrorCode.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java b/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
index 58c1207304a929c3de08205803572e0c88d25fea..e9a35ce163170495ee22c7265ef726da48f69231 100644
--- a/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
@@ -36,6 +36,8 @@ public enum TypeErrorCode implements ErrorCode {
FIELD_IS_FINAL("Field '%s' is final"),
FOR_IN_WITH_ITERATOR_FIELD("iterator is a field, expected an iterator() method"),
FOR_IN_WITH_INVALID_ITERATOR_RETURN_TYPE("iterator method's return type is not assignable to %s"),
+ INCOMPATIBLE_TYPES_IN_HIERARCHY(ErrorSeverity.INFO,
+ "Class inherits two variations of the same interface '%s' and '%s' with parameters that are not assignable to each other."),
INSTANTIATION_OF_ABSTRACT_CLASS("instantiation of an abstract class '%s'"),
INSTANTIATION_OF_CLASS_WITH_UNIMPLEMENTED_MEMBERS(
"instantiation of class %s with the inherited abstract members: %s"),

Powered by Google App Engine
This is Rietveld 408576698