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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart

Issue 17569004: Implement hashCode on objects stored in a set or used as map keys. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased on CL 17588005. Created 7 years, 6 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: dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart b/dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
index f8375d98bb528c4b688019db4c64bdf11a8e8b51..1649fd81b22341b6181b09240e89b526b311c4a7 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
@@ -1291,6 +1291,8 @@ class ArgumentsTypes {
return true;
}
+ int get hashCode => throw new UnsupportedError('ArgumentsTypes.hashCode');
+
bool hasNoArguments() => positional.isEmpty && named.isEmpty;
bool hasOnePositionalArgumentWithType(TypeMask type) {

Powered by Google App Engine
This is Rietveld 408576698