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

Unified Diff: corelib/src/map.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/list.dart ('k') | corelib/src/options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/map.dart
===================================================================
--- corelib/src/map.dart (revision 2395)
+++ corelib/src/map.dart (working copy)
@@ -6,9 +6,7 @@
* A [Map] is an associative container, mapping a key to a value.
* Null values are supported.
*/
-interface Map<K, V> factory HashMapImplementation/*<K extends Hashable, V>*/ {
-// See issue 417. Works in the vm, fails in dartc and frog.
-
+interface Map<K, V> default HashMapImplementation<K extends Hashable, V> {
/**
* Creates a map with the default implementation.
*/
@@ -95,9 +93,7 @@
* and [getValues].
*/
interface HashMap<K extends Hashable, V> extends Map<K, V>
- factory HashMapImplementation {
-// See issue 417. Works in the vm, fails in dartc and frog.
-
+ default HashMapImplementation<K extends Hashable, V> {
/**
* Creates a map with the default implementation.
*/
@@ -114,9 +110,7 @@
* order.
*/
interface LinkedHashMap<K extends Hashable, V> extends HashMap<K, V>
- factory LinkedHashMapImplementation {
-// See issue 417. Works in the vm, fails in dartc and frog.
-
+ default LinkedHashMapImplementation<K extends Hashable, V> {
/**
* Creates a map with the default implementation.
*/
« no previous file with comments | « corelib/src/list.dart ('k') | corelib/src/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698