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

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
« no previous file with comments | « lib/compiler/implementation/scanner/listener.dart ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/warnings.dart
===================================================================
--- lib/compiler/implementation/warnings.dart (revision 12694)
+++ 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');
« no previous file with comments | « lib/compiler/implementation/scanner/listener.dart ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698