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

Unified Diff: runtime/bin/directory_impl.dart

Issue 10919290: Issue 3476. Final variables don't have to have constant initializers (Closed) Base URL: https://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: runtime/bin/directory_impl.dart
diff --git a/runtime/bin/directory_impl.dart b/runtime/bin/directory_impl.dart
index 7bac52e9263f9b94076cb0d89b5506a588942bba..cd1ab5609fceae7e874e8eaadf1e37286f5848ce 100644
--- a/runtime/bin/directory_impl.dart
+++ b/runtime/bin/directory_impl.dart
@@ -205,10 +205,10 @@ class _Directory implements Directory {
class _DirectoryLister implements DirectoryLister {
_DirectoryLister(String path, bool recursive) {
- final int LIST_DIRECTORY = 0;
- final int LIST_FILE = 1;
- final int LIST_ERROR = 2;
- final int LIST_DONE = 3;
+ const int LIST_DIRECTORY = 0;
+ const int LIST_FILE = 1;
+ const int LIST_ERROR = 2;
+ const int LIST_DONE = 3;
final int RESPONSE_TYPE = 0;
final int RESPONSE_PATH = 1;
« no previous file with comments | « compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java ('k') | tests/co19/co19-compiler.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698