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

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: Rebased 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
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/resolution/members.dart ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1b63947e8db14e5a625f6a9e615b19c95e3a5766..78ed8274c83f58e78626775227630047f015bcbd 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(
+ "Error: #{1} can not be both extended and implemented.");
+
+ static const DUPLICATE_IMPLEMENTS = const MessageKind(
+ "Error: #{1} must not occur more than once in the implements clause.");
+
static const ILLEGAL_SUPER_SEND = const MessageKind(
"#{1} cannot be called on super");
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/resolution/members.dart ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698