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

Unified Diff: corelib/src/set.dart

Issue 8931011: Update corelib to revised factory syntax. (Closed) Base URL: http://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
===================================================================
--- corelib/src/set.dart (revision 2395)
+++ corelib/src/set.dart (working copy)
@@ -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 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