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

Unified Diff: corelib/src/set.dart

Issue 8989015: Updates the corelib to the new default specification for interfaces and new factory syntax (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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 | « corelib/src/regexp.dart ('k') | corelib/src/stopwatch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/set.dart
diff --git a/corelib/src/set.dart b/corelib/src/set.dart
index e8febeb723e1d9f75e1163d10de7216a8bf3662b..5893cf22ff2307e37448770cded7a2ead97a6905 100644
--- a/corelib/src/set.dart
+++ b/corelib/src/set.dart
@@ -7,8 +7,7 @@
* without duplicates.
*/
interface Set<E> extends Collection<E>
- factory HashSetImplementation {
-// See issue 417. Works in the vm, fails in dartc and frog.
+ default HashSetImplementation<E extends Hashable> {
Set();
/**
@@ -70,8 +69,7 @@ interface Set<E> extends Collection<E>
}
interface HashSet<E extends Hashable> extends Set<E>
- factory HashSetImplementation {
-// See issue 417. Works in the vm, fails in dartc and frog.
+ default HashSetImplementation<E extends Hashable> {
HashSet();
/**
« no previous file with comments | « corelib/src/regexp.dart ('k') | corelib/src/stopwatch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698