Index: tests/compiler/dart2js/kernel/test_helpers.dart |
diff --git a/tests/compiler/dart2js/kernel/test_helpers.dart b/tests/compiler/dart2js/kernel/test_helpers.dart |
index 7212cbb10b787b2b10a86f03701305fd831c9173..57b08fa93a9aabd22d3efcfd8f9451ba370448a2 100644 |
--- a/tests/compiler/dart2js/kernel/test_helpers.dart |
+++ b/tests/compiler/dart2js/kernel/test_helpers.dart |
@@ -63,6 +63,12 @@ class KernelEquivalence { |
a, b, 'enclosingClass', a.enclosingClass, b.enclosingClass); |
} |
return false; |
+ case ElementKind.GENERATIVE_CONSTRUCTOR_BODY: |
+ ConstructorBodyElement aConstructorBody = a; |
+ if (b is ConstructorBodyEntity) { |
+ return entityEquivalence(aConstructorBody.constructor, b.constructor); |
+ } |
+ return false; |
case ElementKind.CLASS: |
if (b is IndexedClass) { |
List<InterfaceType> aMixinTypes = []; |