| Index: lib/runtime/dart/collection.js
|
| diff --git a/lib/runtime/dart/collection.js b/lib/runtime/dart/collection.js
|
| index 3495bd476ca92948e097cf645e24a55dc2b2cc52..07d1a41f121169cedde1f5282d88254ad22b56d3 100644
|
| --- a/lib/runtime/dart/collection.js
|
| +++ b/lib/runtime/dart/collection.js
|
| @@ -79,7 +79,7 @@ var math = dart.lazyImport(math);
|
| static from(other) {
|
| let result = HashMap$(K, V).new();
|
| other.forEach(dart.fn((k, v) => {
|
| - result.set(k, dart.as(v, V));
|
| + result.set(dart.as(k, K), dart.as(v, V));
|
| }));
|
| return result;
|
| }
|
| @@ -1218,7 +1218,7 @@ var math = dart.lazyImport(math);
|
| static from(other) {
|
| let result = LinkedHashMap$(K, V).new();
|
| other.forEach(dart.fn((k, v) => {
|
| - result.set(k, dart.as(v, V));
|
| + result.set(dart.as(k, K), dart.as(v, V));
|
| }));
|
| return result;
|
| }
|
| @@ -3324,7 +3324,7 @@ var math = dart.lazyImport(math);
|
| isValidKey = null;
|
| let result = new (SplayTreeMap$(K, V))();
|
| other.forEach(dart.fn((k, v) => {
|
| - result.set(k, dart.as(v, V));
|
| + result.set(dart.as(k, K), dart.as(v, V));
|
| }));
|
| return result;
|
| }
|
|
|