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

Unified Diff: dart/frog/leg/warnings.dart

Issue 9724032: Resolve type Dynamic and implement black listing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 8 years, 9 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
« no previous file with comments | « dart/frog/leg/ssa/codegen.dart ('k') | dart/frog/tests/leg/src/mock_compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/warnings.dart
diff --git a/dart/frog/leg/warnings.dart b/dart/frog/leg/warnings.dart
index e2e4137d66aea6a7fc4793c3f2c3bca6f54223b8..22f6629e79ac4d0611e2cc28d263f65f81e45042 100644
--- a/dart/frog/leg/warnings.dart
+++ b/dart/frog/leg/warnings.dart
@@ -151,6 +151,13 @@ class MessageKind {
"cyclic reference to type variable #{1}");
static final TYPE_NAME_EXPECTED = const MessageKind(
"class or interface name exptected");
+
+ static final CANNOT_EXTEND = const MessageKind(
+ "#{1} cannot be extended");
+
+ static final CANNOT_IMPLEMENT = const MessageKind(
+ "#{1} cannot be implemented");
+
toString() => template;
}
« no previous file with comments | « dart/frog/leg/ssa/codegen.dart ('k') | dart/frog/tests/leg/src/mock_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698