| Index: pkg/yaml/lib/src/utils.dart
|
| diff --git a/pkg/yaml/lib/src/utils.dart b/pkg/yaml/lib/src/utils.dart
|
| index 64cad472704830ed7c5ac74e3ce58c1375a7b035..463af70133f992c7839a9ddfac29675ac25ba37b 100644
|
| --- a/pkg/yaml/lib/src/utils.dart
|
| +++ b/pkg/yaml/lib/src/utils.dart
|
| @@ -20,7 +20,9 @@ int hashCodeFor(obj) {
|
| parents.add(value);
|
| try {
|
| if (value is Map) {
|
| - return _hashCodeFor(value.keys) ^ _hashCodeFor(value.values);
|
| + var equality = const UnorderedIterableEquality();
|
| + return equality.hash(value.keys.map(_hashCodeFor)) ^
|
| + equality.hash(value.values.map(_hashCodeFor));
|
| } else if (value is Iterable) {
|
| return const IterableEquality().hash(value.map(hashCodeFor));
|
| }
|
|
|