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

Unified Diff: pkg/logging/lib/logging.dart

Issue 11191078: Make hashCode a getter and not a method. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file with co19 issue number. Created 8 years, 2 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
Index: pkg/logging/lib/logging.dart
diff --git a/pkg/logging/lib/logging.dart b/pkg/logging/lib/logging.dart
index 38cfa025d80fded21b73b6edc999e764d09eb65b..8dc5ac12ca94dc33789e483c667c4c4895ad892f 100644
--- a/pkg/logging/lib/logging.dart
+++ b/pkg/logging/lib/logging.dart
@@ -296,7 +296,7 @@ class Level implements Comparable {
bool operator >(Level other) => value > other.value;
bool operator >=(Level other) => value >= other.value;
int compareTo(Level other) => value - other.value;
- int hashCode() => value;
+ int get hashCode => value;
String toString() => name;
}
« no previous file with comments | « pkg/fixnum/intx.dart ('k') | runtime/bin/http_impl.dart » ('j') | tests/co19/co19-dart2js.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698