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

Unified Diff: tests/corelib/set_iterator_test.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: tests/corelib/set_iterator_test.dart
diff --git a/tests/corelib/set_iterator_test.dart b/tests/corelib/set_iterator_test.dart
index 918d211255016bc736576896381d0521f398c429..086a714dcb0fad7546cd3d1b218d181ea098fcc2 100644
--- a/tests/corelib/set_iterator_test.dart
+++ b/tests/corelib/set_iterator_test.dart
@@ -5,7 +5,7 @@
class FixedHashCode {
final int _hashCode;
const FixedHashCode(this._hashCode);
- int hashCode() { return _hashCode; }
+ int get hashCode { return _hashCode; }
}
class SetIteratorTest {

Powered by Google App Engine
This is Rietveld 408576698