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

Unified Diff: lib/compiler/implementation/namer.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 | « lib/compiler/implementation/library_map.dart ('k') | lib/compiler/implementation/scanner/keyword.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/namer.dart
===================================================================
--- lib/compiler/implementation/namer.dart (revision 11400)
+++ lib/compiler/implementation/namer.dart (working copy)
@@ -33,7 +33,7 @@
/** Some closures must contain their name. The name is stored in
* [STATIC_CLOSURE_NAME_NAME]. */
final String STATIC_CLOSURE_NAME_NAME = @'$name';
- static final SourceString CLOSURE_INVOCATION_NAME =
+ static const SourceString CLOSURE_INVOCATION_NAME =
Compiler.CALL_OPERATOR_NAME;
@@ -176,7 +176,7 @@
return name;
}
- static final String LIBRARY_PREFIX = "lib";
+ static const String LIBRARY_PREFIX = "lib";
/**
* Returns a preferred JS-id for the given top-level or static element.
« no previous file with comments | « lib/compiler/implementation/library_map.dart ('k') | lib/compiler/implementation/scanner/keyword.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698