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

Unified Diff: frog/utils.dart

Issue 9270048: Lots of frog cleanup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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
« frog/gen.dart ('K') | « frog/type.dart ('k') | frog/value.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/utils.dart
diff --git a/frog/utils.dart b/frog/utils.dart
index 909e80f8a95d46039f81f4e96eece2f1c0001933..414f9ce12d4e832301a64520669c0f029e3c6724 100644
--- a/frog/utils.dart
+++ b/frog/utils.dart
@@ -129,7 +129,7 @@ class CopyOnWriteMap<K extends Hashable, V> implements HashMap<K, V> {
CopyOnWriteMap._wrap(this._map);
factory CopyOnWriteMap.from(Map<K, V> other) {
if (other is CopyOnWriteMap<K, V>) {
- return other.clone();
+ return other.dynamic.clone();
}
return new CopyOnWriteMap<K, V>._wrap(
new _SharedBackingMap<K, V>.from(other));
« frog/gen.dart ('K') | « frog/type.dart ('k') | frog/value.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698