| Index: pkg/compiler/lib/src/serialization/equivalence.dart
|
| diff --git a/pkg/compiler/lib/src/serialization/equivalence.dart b/pkg/compiler/lib/src/serialization/equivalence.dart
|
| index 1feae1c1c4a299131cb88b0eac095e61275630e4..f3fc4f18dc61d5a46bfca9cf0167c7a8e82c747c 100644
|
| --- a/pkg/compiler/lib/src/serialization/equivalence.dart
|
| +++ b/pkg/compiler/lib/src/serialization/equivalence.dart
|
| @@ -151,9 +151,11 @@ bool areSelectorsEquivalent(Selector a, Selector b) {
|
|
|
| /// Returns `true` if the names [a] and [b] are equivalent.
|
| bool areNamesEquivalent(Name a, Name b) {
|
| + LibraryElement library1 = a.library;
|
| + LibraryElement library2 = b.library;
|
| return a.text == b.text &&
|
| a.isSetter == b.isSetter &&
|
| - areElementsEquivalent(a.library, b.library);
|
| + areElementsEquivalent(library1, library2);
|
| }
|
|
|
| /// Returns `true` if the dynamic uses [a] and [b] are equivalent.
|
|
|