Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Unified Diff: pkg/compiler/lib/src/serialization/equivalence.dart

Issue 2125823002: Handle redirects to unresolved redirects (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 3acb1029dda6748c242c7b3cd0f392f12026e033..6f86c3c0fe84f834c85d838739739ce7e35a39e4 100644
--- a/pkg/compiler/lib/src/serialization/equivalence.dart
+++ b/pkg/compiler/lib/src/serialization/equivalence.dart
@@ -516,6 +516,13 @@ class ElementIdentityEquivalence extends BaseElementVisitor<bool, Element> {
element1, element2, 'name', element1.name, element2.name) &&
visit(element1.library, element2.library);
}
+
+ @override
+ bool visitErroneousElement(
+ ErroneousElement element1, ErroneousElement element2) {
+ return strategy.test(element1, element2, 'messageKind',
+ element1.messageKind, element2.messageKind);
+ }
}
/// Visitor that checks for equivalence of [DartType]s.

Powered by Google App Engine
This is Rietveld 408576698