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)); |