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

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

Issue 10834061: Resolve typedefs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 ce34b0ca6da8f43b303ccf10e4fc944b3dd2c155..976c76b8fbd5799582d0a9e894241b8e5c1000b5 100644
--- a/lib/compiler/implementation/warnings.dart
+++ b/lib/compiler/implementation/warnings.dart
@@ -154,6 +154,8 @@ class MessageKind {
static final CANNOT_INSTANTIATE_TYPEDEF = const MessageKind(
"cannot instantiate typedef '#{1}'");
+ static final CYCLIC_TYPEDEF = const MessageKind(
+ "a typedef may not refer to the type it is defining");
ahe 2012/07/30 10:30:05 I think this message should include the name of th
Johnni Winther 2012/08/01 10:12:29 Done.
static final NO_DEFAULT_CLASS = const MessageKind(
"no default class on enclosing interface '#{1}'");

Powered by Google App Engine
This is Rietveld 408576698