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

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

Issue 2015903002: Compute and check members for serialization (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix invariant 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/test_helper.dart
diff --git a/tests/compiler/dart2js/serialization/test_helper.dart b/tests/compiler/dart2js/serialization/test_helper.dart
index dca85531e2ee554889705c4b722f2db8216771cf..4bbed39b8c73b51b0eea69ad24bcd08f5000006b 100644
--- a/tests/compiler/dart2js/serialization/test_helper.dart
+++ b/tests/compiler/dart2js/serialization/test_helper.dart
@@ -339,6 +339,15 @@ void checkLoadedLibraryMembers(
ClassElement class2 = member2;
if (!class1.isResolved) return;
+ if (hasProperty(member1)) {
+ if (areElementsEquivalent(member1, member2)) {
+ checkMemberProperties(
+ compiler1, member1,
+ compiler2, member2,
+ verbose: verbose);
+ }
+ }
+
class1.forEachLocalMember((m1) {
checkMembers(m1, class2.localLookup(m1.name));
});

Powered by Google App Engine
This is Rietveld 408576698