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

Unified Diff: sdk/lib/_internal/compiler/implementation/warnings.dart

Issue 11829020: Report errors on repeated interfaces. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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: sdk/lib/_internal/compiler/implementation/warnings.dart
diff --git a/sdk/lib/_internal/compiler/implementation/warnings.dart b/sdk/lib/_internal/compiler/implementation/warnings.dart
index 5f5b74e096cb3497ae237f2f9a2d84ba719e57b6..ea27605a8ccc136a9569a46046771ea42fe9aa0d 100644
--- a/sdk/lib/_internal/compiler/implementation/warnings.dart
+++ b/sdk/lib/_internal/compiler/implementation/warnings.dart
@@ -200,6 +200,12 @@ class MessageKind {
static const CANNOT_IMPLEMENT = const MessageKind(
"#{1} cannot be implemented");
+ static const DUPLICATE_EXTENDS_IMPLEMENTS = const MessageKind(
ahe 2013/01/09 13:15:31 Would these errors be easier to understand if we r
Johnni Winther 2013/01/10 06:55:13 Done.
+ "#{1} can not be both extended and implemented.");
+
+ static const DUPLICATE_IMPLEMENTS = const MessageKind(
+ "#{1} must not occur more than once in the implements clause.");
+
static const ILLEGAL_SUPER_SEND = const MessageKind(
"#{1} cannot be called on super");

Powered by Google App Engine
This is Rietveld 408576698