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

Unified Diff: client/samples/spirodraw/ColorPicker.dart

Issue 8231031: Check for compile-time constants in DartCompiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Feedback from floitsch Created 9 years, 2 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: client/samples/spirodraw/ColorPicker.dart
diff --git a/client/samples/spirodraw/ColorPicker.dart b/client/samples/spirodraw/ColorPicker.dart
index f80cb4482ca552aec12a5160a5a1a57b75ee3766..d433d22e3b202f7de816d284981ea25e5a73542d 100644
--- a/client/samples/spirodraw/ColorPicker.dart
+++ b/client/samples/spirodraw/ColorPicker.dart
@@ -6,7 +6,7 @@ typedef void PickerListener(String selectedColor);
class ColorPicker {
- static final hexValues = ['00', '33', '66', '99', 'CC', 'FF'];
+ static final hexValues = const ['00', '33', '66', '99', 'CC', 'FF'];
static final COLS = 18;
// Block height, width, padding
static final BH = 10;
« no previous file with comments | « no previous file | client/samples/sunflower/Sunflower.dart » ('j') | compiler/java/com/google/dart/compiler/ast/DartExpression.java » ('J')

Powered by Google App Engine
This is Rietveld 408576698