| Index: pkg/analyzer/lib/src/generated/sdk.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/sdk.dart b/pkg/analyzer/lib/src/generated/sdk.dart
|
| index c3e8e655eb6254c1ff689483fe5066fa510d8696..a03afbed585bb0ae643e0de9352e434782d9f771 100644
|
| --- a/pkg/analyzer/lib/src/generated/sdk.dart
|
| +++ b/pkg/analyzer/lib/src/generated/sdk.dart
|
| @@ -212,7 +212,10 @@ class SdkDescription {
|
|
|
| @override
|
| int get hashCode {
|
| - int hashCode = options.encodeCrossContextOptions();
|
| + int hashCode = 0;
|
| + for (int value in options.encodeCrossContextOptions()) {
|
| + hashCode = JenkinsSmiHash.combine(hashCode, value);
|
| + }
|
| for (String path in paths) {
|
| hashCode = JenkinsSmiHash.combine(hashCode, path.hashCode);
|
| }
|
| @@ -222,8 +225,9 @@ class SdkDescription {
|
| @override
|
| bool operator ==(Object other) {
|
| if (other is SdkDescription) {
|
| - if (options.encodeCrossContextOptions() !=
|
| - other.options.encodeCrossContextOptions()) {
|
| + if (!AnalysisOptions.crossContextOptionsEqual(
|
| + options.encodeCrossContextOptions(),
|
| + other.options.encodeCrossContextOptions())) {
|
| return false;
|
| }
|
| int length = paths.length;
|
|
|