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

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

Issue 11953012: Add more mixin tests and start rejecting illegal syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files. 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 78ed8274c83f58e78626775227630047f015bcbd..6a5f4a76aa1466b9cb1295e5cd42e47888aa7f51 100644
--- a/sdk/lib/_internal/compiler/implementation/warnings.dart
+++ b/sdk/lib/_internal/compiler/implementation/warnings.dart
@@ -303,6 +303,9 @@ class MessageKind {
static const ILLEGAL_CONSTRUCTOR_MODIFIERS = const MessageKind(
"Error: illegal constructor modifiers: #{1}.");
+ static const ILLEGAL_MIXIN_APPLICATION_MODIFIERS = const MessageKind(
+ "Error: illegal mixin application modifiers: #{1}.");
+
static const PARAMETER_NAME_EXPECTED = const MessageKind(
"Error: parameter name expected.");

Powered by Google App Engine
This is Rietveld 408576698