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

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

Issue 10970006: Correctly handle const constructors with type parameters. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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
===================================================================
--- lib/compiler/implementation/warnings.dart (revision 12600)
+++ lib/compiler/implementation/warnings.dart (working copy)
@@ -153,6 +153,8 @@
'not a compile-time constant');
static const CYCLIC_COMPILE_TIME_CONSTANTS = const MessageKind(
'cycle in the compile-time constant computation');
+ static const CONSTRUCTOR_IS_NOT_CONST = const MessageKind(
+ 'constructor is not a const constructor');
static const KEY_NOT_A_STRING_LITERAL = const MessageKind(
'map-literal key not a string literal');

Powered by Google App Engine
This is Rietveld 408576698