Index: tests/compiler/dart2js/serialization/model_test.dart |
diff --git a/tests/compiler/dart2js/serialization/model_test.dart b/tests/compiler/dart2js/serialization/model_test.dart |
index dd86acd1cb76e0138c78437118c56326097ce0ba..9620d68012aef2888114c997e62d973c68d47464 100644 |
--- a/tests/compiler/dart2js/serialization/model_test.dart |
+++ b/tests/compiler/dart2js/serialization/model_test.dart |
@@ -220,8 +220,17 @@ void checkClassHierarchyNodes( |
} |
} |
if (!found) { |
+ if (child.isInstantiated) { |
+ print('Missing subclass ${child.cls} of ${node1.cls} ' |
+ 'in ${node2.directSubclasses}'); |
+ print(compiler1.world.dump( |
+ verbose ? compiler1.coreClasses.objectClass : node1.cls)); |
+ print(compiler2.world.dump( |
+ verbose ? compiler2.coreClasses.objectClass : node2.cls)); |
+ } |
Expect.isFalse(child.isInstantiated, |
- 'Missing subclass ${child.cls} of ${node1.cls}'); |
+ 'Missing subclass ${child.cls} of ${node1.cls} in ' |
+ '${node2.directSubclasses}'); |
} |
} |
checkMixinUses(compiler1, compiler2, node1.cls, node2.cls, verbose: verbose); |