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

Unified Diff: lib/compiler/implementation/typechecker.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/tree/prettyprint.dart ('k') | lib/compiler/implementation/universe.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/typechecker.dart
===================================================================
--- lib/compiler/implementation/typechecker.dart (revision 11400)
+++ lib/compiler/implementation/typechecker.dart (working copy)
@@ -6,7 +6,7 @@
TypeCheckerTask(Compiler compiler) : super(compiler);
String get name => "Type checker";
- static final bool LOG_FAILURES = false;
+ static const bool LOG_FAILURES = false;
void check(Node tree, TreeElements elements) {
measure(() {
@@ -64,9 +64,9 @@
const StatementType(this.stringName);
- static final RETURNING = const StatementType('<returning>');
- static final NOT_RETURNING = const StatementType('<not returning>');
- static final MAYBE_RETURNING = const StatementType('<maybe returning>');
+ static const RETURNING = const StatementType('<returning>');
+ static const NOT_RETURNING = const StatementType('<not returning>');
+ static const MAYBE_RETURNING = const StatementType('<maybe returning>');
/** Combine the information about two control-flow edges that are joined. */
StatementType join(StatementType other) {
« no previous file with comments | « lib/compiler/implementation/tree/prettyprint.dart ('k') | lib/compiler/implementation/universe.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698