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

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

Issue 2017903002: Improve equivalence testing of unnamed mixin applications. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 4 years, 7 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: tests/compiler/dart2js/serialization/equivalence_test.dart
diff --git a/tests/compiler/dart2js/serialization/equivalence_test.dart b/tests/compiler/dart2js/serialization/equivalence_test.dart
index 443e69983cfbc70c9150aacf55b99f78810f83f1..f6ca1d3380533dfc03af1754235f0852cb925d92 100644
--- a/tests/compiler/dart2js/serialization/equivalence_test.dart
+++ b/tests/compiler/dart2js/serialization/equivalence_test.dart
@@ -391,6 +391,12 @@ class ElementPropertyEquivalence extends BaseElementVisitor<dynamic, Element> {
} else {
check(element1, element2, 'sourcePosition.uri',
element1.sourcePosition.uri, element2.sourcePosition.uri);
+ MixinApplicationElement mixin1 = element1;
+ MixinApplicationElement mixin2 = element2;
+ checkElementIdentities(mixin1, mixin2, 'subclass',
+ mixin1.subclass, mixin2.subclass);
+ checkTypes(mixin1, mixin2, 'mixinType',
+ mixin1.mixinType, mixin2.mixinType);
}
checkElementIdentities(
element1, element2, 'library',
« no previous file with comments | « pkg/compiler/lib/src/serialization/modelz.dart ('k') | tests/compiler/dart2js/serialization/model_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698