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

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

Issue 10105031: Check number of type arguments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove accidental edits. Created 8 years, 8 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 | « lib/compiler/implementation/resolver.dart ('k') | tests/co19/co19-leg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/warnings.dart
diff --git a/lib/compiler/implementation/warnings.dart b/lib/compiler/implementation/warnings.dart
index 19f75f4614aa892d0e39b1ae72ff594966309b00..b5bc17b20e32a96a09cfb108273487a375effba6 100644
--- a/lib/compiler/implementation/warnings.dart
+++ b/lib/compiler/implementation/warnings.dart
@@ -165,6 +165,12 @@ class MessageKind {
static final ILLEGAL_SUPER_SEND = const MessageKind(
"#{1} cannot be called on super");
+ static final ADDITIONAL_TYPE_ARGUMENT = const MessageKind(
+ "additional type argument");
+
+ static final MISSING_TYPE_ARGUMENT = const MessageKind(
+ "missing type argument");
+
toString() => template;
}
« no previous file with comments | « lib/compiler/implementation/resolver.dart ('k') | tests/co19/co19-leg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698