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

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..90db2fd4e58523f00497d01c8bebec4fa303648e 100644
--- a/sdk/lib/_internal/compiler/implementation/warnings.dart
+++ b/sdk/lib/_internal/compiler/implementation/warnings.dart
@@ -553,6 +553,9 @@ 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 to create compile-time constants.");
+
static const MessageKind CYCLIC_COMPILE_TIME_CONSTANTS = const MessageKind(
"Cycle in the compile-time constant computation.");
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/resolution/members.dart ('k') | tests/language/deferred_constraints_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698