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

Unified Diff: lib/core/double.dart

Issue 10919024: - Change "static final" to "static const" in the (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/core/date.dart ('k') | lib/core/duration.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/double.dart
===================================================================
--- lib/core/double.dart (revision 11633)
+++ lib/core/double.dart (working copy)
@@ -9,9 +9,9 @@
// different platform implementations.
abstract class double implements num {
- static final double NAN = 0.0 / 0.0;
- static final double INFINITY = 1.0 / 0.0;
- static final double NEGATIVE_INFINITY = -INFINITY;
+ static const double NAN = 0.0 / 0.0;
+ static const double INFINITY = 1.0 / 0.0;
+ static const double NEGATIVE_INFINITY = -INFINITY;
// Specialization of super-interface. Double is contagious. We can therefore
// specialize more methods than in other num sub-interfaces.
« no previous file with comments | « lib/core/date.dart ('k') | lib/core/duration.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698