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

Unified Diff: lib/compiler/implementation/ssa/js_names.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/ssa/codegen.dart ('k') | lib/compiler/implementation/ssa/nodes.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/ssa/js_names.dart
===================================================================
--- lib/compiler/implementation/ssa/js_names.dart (revision 11400)
+++ lib/compiler/implementation/ssa/js_names.dart (working copy)
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
class JsNames {
- static final javaScriptKeywords = const <String>[
+ static const javaScriptKeywords = const <String>[
// These are current keywords
"break", "delete", "function", "return", "typeof", "case", "do", "if",
"switch", "var", "catch", "else", "in", "this", "void", "continue",
@@ -18,7 +18,7 @@
"long", "short", "volatile"
];
- static final reservedGlobalSymbols = const <String>[
+ static const reservedGlobalSymbols = const <String>[
// Section references are from Ecma-262
// (http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf)
@@ -150,7 +150,7 @@
"call"
];
- static final reservedPropertySymbols =
+ static const reservedPropertySymbols =
const <String>["__PROTO__", "prototype", "constructor"];
static Set<String> _reserved;
« no previous file with comments | « lib/compiler/implementation/ssa/codegen.dart ('k') | lib/compiler/implementation/ssa/nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698