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

Unified Diff: lib/_internal/libraries.dart

Issue 10880068: - Change "static final" to "static const" in the lib/ directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 | « no previous file | lib/compiler/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/_internal/libraries.dart
===================================================================
--- lib/_internal/libraries.dart (revision 11400)
+++ lib/_internal/libraries.dart (working copy)
@@ -7,12 +7,12 @@
/**
* A bit flag used by [LibraryInfo] indicating that a library is used by dart2js
*/
-final int DART2JS_PLATFORM = 1;
+const int DART2JS_PLATFORM = 1;
/**
* A bit flag used by [LibraryInfo] indicating that a library is used by the VM
*/
-final int VM_PLATFORM = 2;
+const int VM_PLATFORM = 2;
/**
* Mapping of "dart:" library name (e.g. "core") to information about that library.
@@ -20,7 +20,7 @@
* and extract the necessary information without executing it
* while other tools can access via execution.
*/
-final Map<String, LibraryInfo> LIBRARIES = const <LibraryInfo> {
+const Map<String, LibraryInfo> LIBRARIES = const <LibraryInfo> {
// Used by VM applications
"builtin": const LibraryInfo(
« no previous file with comments | « no previous file | lib/compiler/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698