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

Unified Diff: lib/dom/scripts/systeminterface.py

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/dom/scripts/systemhtml.py ('k') | lib/dom/src/KeyLocation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/systeminterface.py
===================================================================
--- lib/dom/scripts/systeminterface.py (revision 11400)
+++ lib/dom/scripts/systeminterface.py (working copy)
@@ -163,7 +163,7 @@
self._EmitConstant(self._members_emitter, constant)
def _EmitConstant(self, emitter, constant):
- emitter.Emit('\n static final $TYPE$NAME = $VALUE;\n',
+ emitter.Emit('\n static const $TYPE$NAME = $VALUE;\n',
NAME=constant.id,
TYPE=TypeOrNothing(self._DartType(constant.type.id),
constant.type.id),
« no previous file with comments | « lib/dom/scripts/systemhtml.py ('k') | lib/dom/src/KeyLocation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698