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

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

Issue 11412245: MalformedType used for all invalid type annotations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 8 years 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 8381bd500b6544406ac21100e69f2b6167eea93b..3784b290c5418ade27a94e932d24fcf2e6b20dc7 100644
--- a/sdk/lib/_internal/compiler/implementation/warnings.dart
+++ b/sdk/lib/_internal/compiler/implementation/warnings.dart
@@ -205,6 +205,11 @@ class MessageKind {
static const MISSING_TYPE_ARGUMENT = const MessageKind(
"missing type argument");
+ // TODO(johnniwinther): Use ADDITIONAL_TYPE_ARGUMENT or MISSING_TYPE_ARGUMENT
+ // instead.
+ static const TYPE_ARGUMENT_COUNT_MISMATCH = const MessageKind(
+ "incorrect number of type arguments on #{1}");
+
static const MISSING_ARGUMENTS_TO_ASSERT = const MessageKind(
"missing arguments to assert");

Powered by Google App Engine
This is Rietveld 408576698