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

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

Issue 10996039: Bring type variables into static scope, but produce compile-time error when they are used. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Just rebased Created 8 years, 2 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: lib/compiler/implementation/warnings.dart
diff --git a/lib/compiler/implementation/warnings.dart b/lib/compiler/implementation/warnings.dart
index dee9526b72f8621565ce9e685ed213da7a3609fd..5ed3c94fc54657c906e86c579635dad0073ed2c5 100644
--- a/lib/compiler/implementation/warnings.dart
+++ b/lib/compiler/implementation/warnings.dart
@@ -259,6 +259,9 @@ class MessageKind {
static const VOID_NOT_ALLOWED = const MessageKind(
'type void is only allowed in a return type.');
+ static const CANNOT_ACCESS_TYPE_VARIABLE_IN_STATIC_CONTEXT =
+ const MessageKind( 'cannot access type variable #{1} in static context');
ahe 2012/10/04 07:51:02 Extra space after (.
aam-me 2012/10/10 02:48:40 Done.
+
static const INVALID_SOURCE_FILE_LOCATION = const MessageKind('''
Invalid offset (#{1}) in source map.
File: #{2}

Powered by Google App Engine
This is Rietveld 408576698