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

Unified Diff: runtime/lib/mirrors_impl.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: runtime/lib/mirrors_impl.dart
diff --git a/runtime/lib/mirrors_impl.dart b/runtime/lib/mirrors_impl.dart
index 683e72424a3ec0211e150a2c551ceb0ded82ec9d..0233d092bce1d4e97dce04b93f4808caa6f86f36 100644
--- a/runtime/lib/mirrors_impl.dart
+++ b/runtime/lib/mirrors_impl.dart
@@ -94,8 +94,8 @@ class _LocalMirrorSystemImpl implements MirrorSystem {
}
abstract class _LocalMirrorImpl implements Mirror {
- int hashCode() {
- throw new NotImplementedException('Mirror.hashCode() is not implemented');
+ int get hashCode {
+ throw new NotImplementedException('Mirror.hashCode is not implemented');
}
// Local mirrors always return the same MirrorSystem. This field

Powered by Google App Engine
This is Rietveld 408576698