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

Unified Diff: lib/dom/scripts/systemdart2js.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/idlparser.dart ('k') | lib/dom/scripts/systemhtml.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/systemdart2js.py
===================================================================
--- lib/dom/scripts/systemdart2js.py (revision 11400)
+++ lib/dom/scripts/systemdart2js.py (working copy)
@@ -179,7 +179,7 @@
# Since we are currently generating native classes without interfaces,
# generate the constants as part of the class. This will need to go away
# if we revert back to generating interfaces.
- self._members_emitter.Emit('\n static final $TYPE $NAME = $VALUE;\n',
+ self._members_emitter.Emit('\n static const $TYPE $NAME = $VALUE;\n',
NAME=constant.id,
TYPE=self._DartType(constant.type.id),
VALUE=constant.value)
« no previous file with comments | « lib/dom/scripts/idlparser.dart ('k') | lib/dom/scripts/systemhtml.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698