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

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

Issue 183743031: Introduce constraints of deferred constants. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
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 9e1206414088891f23893123a9fb608132183dc2..922b95d6651234510e16c1ae8687b14e84e55d4b 100644
--- a/sdk/lib/_internal/compiler/implementation/warnings.dart
+++ b/sdk/lib/_internal/compiler/implementation/warnings.dart
@@ -553,6 +553,10 @@ main() => new C<String>();
static const MessageKind NOT_A_COMPILE_TIME_CONSTANT = const MessageKind(
"Not a compile-time constant.");
+ static const MessageKind DEFERRED_COMPILE_TIME_CONSTANT = const MessageKind(
+ "Deferred classes cannot be used in const instance creation "
floitsch 2014/03/06 15:32:58 maybe: "Deferred classes cannot be used to create
sigurdm 2014/03/07 12:50:49 Done.
+ "expressions.");
+
static const MessageKind CYCLIC_COMPILE_TIME_CONSTANTS = const MessageKind(
"Cycle in the compile-time constant computation.");

Powered by Google App Engine
This is Rietveld 408576698