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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/js_array.dart

Issue 11412121: Fix dart2js hashCode implementations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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: sdk/lib/_internal/compiler/implementation/lib/js_array.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart
index c5fbcb6b08a3201a75ec66413d5e370ccbabd2d2..9c584fb7a662e30525564da3b024985bf6a47e81 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart
@@ -165,7 +165,7 @@ class JSArray<E> implements List<E> {
ListIterator iterator() => new ListIterator(this);
- int get hashCode => Primitives.objectHashCode(receiver);
+ int get hashCode => Primitives.objectHashCode(this);
ngeoffray 2012/11/21 08:30:08 Untested code FTW!
Type get runtimeType => createRuntimeType('List');
}

Powered by Google App Engine
This is Rietveld 408576698