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

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

Issue 16549004: Add type arguments to constants. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adjust test status. Created 7 years, 6 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 5425bd1f8718f91ded221d21e8bf49e416b5e99a..8e638a5c3fb7053184c64d191d0ef8b979d1f5a9 100644
--- a/sdk/lib/_internal/compiler/implementation/warnings.dart
+++ b/sdk/lib/_internal/compiler/implementation/warnings.dart
@@ -163,6 +163,8 @@ class MessageKind {
static const TYPE_VARIABLE_WITHIN_STATIC_MEMBER = const MessageKind(
'cannot refer to type variable #{typeVariableName} '
'within a static member');
+ static const TYPE_VARIABLE_IN_CONSTANT = const MessageKind(
+ 'Error: cannot refer to type variable in constant');
static const INVALID_USE_OF_SUPER = const MessageKind(
'super not allowed here');

Powered by Google App Engine
This is Rietveld 408576698