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

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

Issue 10628007: Resolve typedefs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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: lib/compiler/implementation/warnings.dart
diff --git a/lib/compiler/implementation/warnings.dart b/lib/compiler/implementation/warnings.dart
index 54addb2ae01b40bb02918bbf8f128a59b01b3542..6fbe76d11bc47f8b864a4279cfdc47e927786210 100644
--- a/lib/compiler/implementation/warnings.dart
+++ b/lib/compiler/implementation/warnings.dart
@@ -152,6 +152,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");
static final NO_DEFAULT_CLASS = const MessageKind(
"no default class on enclosing interface '#{1}'");

Powered by Google App Engine
This is Rietveld 408576698