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

Unified Diff: tests/compiler/dart2js/serialization/model_test_helper.dart

Issue 2804993002: Extract ResolutionWorldBuilderBase from ElementResolutionWorldBuilder (Closed)
Patch Set: Fix. Created 3 years, 8 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
« no previous file with comments | « tests/compiler/dart2js/kernel/closed_world_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/serialization/model_test_helper.dart
diff --git a/tests/compiler/dart2js/serialization/model_test_helper.dart b/tests/compiler/dart2js/serialization/model_test_helper.dart
index 57cfb2430502708451f3cfd713adc5596a4a0768..00fe7490ade517ab5f75ef86235895f4c03125b5 100644
--- a/tests/compiler/dart2js/serialization/model_test_helper.dart
+++ b/tests/compiler/dart2js/serialization/model_test_helper.dart
@@ -451,7 +451,9 @@ bool areInstantiationInfosEquivalent(
bool areInstancesEquivalent(Instance instance1, Instance instance2,
bool typeEquivalence(ResolutionDartType a, ResolutionDartType b)) {
- return typeEquivalence(instance1.type, instance2.type) &&
+ ResolutionInterfaceType type1 = instance1.type;
+ ResolutionInterfaceType type2 = instance2.type;
+ return typeEquivalence(type1, type2) &&
instance1.kind == instance2.kind &&
instance1.isRedirection == instance2.isRedirection;
}
« no previous file with comments | « tests/compiler/dart2js/kernel/closed_world_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698