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

Unified Diff: sdk/lib/_internal/lib/collection_patch.dart

Issue 23513010: Make HashMap constructor a factory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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: sdk/lib/_internal/lib/collection_patch.dart
diff --git a/sdk/lib/_internal/lib/collection_patch.dart b/sdk/lib/_internal/lib/collection_patch.dart
index 3fb0f458df9291b0f8d34081170eae6c486071a9..cbcf114ab898d882adc22dc4bed4c41da32f2c5e 100644
--- a/sdk/lib/_internal/lib/collection_patch.dart
+++ b/sdk/lib/_internal/lib/collection_patch.dart
@@ -26,7 +26,7 @@ patch class HashMap<K, V> {
// guard against concurrent modifications.
List _keys;
- patch HashMap();
+ patch HashMap._internal();
patch int get length => _length;
patch bool get isEmpty => _length == 0;

Powered by Google App Engine
This is Rietveld 408576698