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

Unified Diff: pkg/collection/lib/equality.dart

Issue 261763002: Rip out the last dart:io dependency from pkg/http. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | pkg/http/CHANGELOG.md » ('j') | pkg/http/lib/browser_client.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/collection/lib/equality.dart
diff --git a/pkg/collection/lib/equality.dart b/pkg/collection/lib/equality.dart
index c6fdafa030756cc6cba2f31103daa436921e2e0f..6b6431e6bec563765ba15972218b090f43865b5c 100644
--- a/pkg/collection/lib/equality.dart
+++ b/pkg/collection/lib/equality.dart
@@ -15,7 +15,7 @@ const int _HASH_MASK = 0x7fffffff;
* A generic equality relation on objects.
*/
abstract class Equality<E> {
- const factory Equality() = DefaultEquality;
+ factory Equality() => const DefaultEquality();
Bob Nystrom 2014/05/01 18:30:12 What's up with this?
nweiz 2014/05/01 19:34:54 Oops, this works around a dart2js bug but shouldn'
/**
* Compare two elements for being equal.
« no previous file with comments | « no previous file | pkg/http/CHANGELOG.md » ('j') | pkg/http/lib/browser_client.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698