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

Unified Diff: lib/compiler/compiler.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/_internal/libraries.dart ('k') | lib/compiler/implementation/colors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/compiler.dart
===================================================================
--- lib/compiler/compiler.dart (revision 11400)
+++ lib/compiler/compiler.dart (working copy)
@@ -71,34 +71,34 @@
* This means that the compiler can generate code that when executed
* terminates execution.
*/
- static final Diagnostic ERROR = const Diagnostic(1, 'error');
+ static const Diagnostic ERROR = const Diagnostic(1, 'error');
/**
* A warning as identified by the "Dart Programming Language
* Specification" [http://www.dartlang.org/docs/spec/].
*/
- static final Diagnostic WARNING = const Diagnostic(2, 'warning');
+ static const Diagnostic WARNING = const Diagnostic(2, 'warning');
/**
* Any other warning that is not covered by [WARNING].
*/
- static final Diagnostic LINT = const Diagnostic(4, 'lint');
+ static const Diagnostic LINT = const Diagnostic(4, 'lint');
/**
* Informational messages.
*/
- static final Diagnostic INFO = const Diagnostic(8, 'info');
+ static const Diagnostic INFO = const Diagnostic(8, 'info');
/**
* Informational messages that shouldn't be printed unless
* explicitly requested by the user of a compiler.
*/
- static final Diagnostic VERBOSE_INFO = const Diagnostic(16, 'verbose info');
+ static const Diagnostic VERBOSE_INFO = const Diagnostic(16, 'verbose info');
/**
* An internal error in the compiler.
*/
- static final Diagnostic CRASH = const Diagnostic(32, 'crash');
+ static const Diagnostic CRASH = const Diagnostic(32, 'crash');
/**
* An [int] representation of this kind. The ordinals are designed
« no previous file with comments | « lib/_internal/libraries.dart ('k') | lib/compiler/implementation/colors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698