Index: pkg/compiler/lib/src/elements/modelx.dart |
diff --git a/pkg/compiler/lib/src/elements/modelx.dart b/pkg/compiler/lib/src/elements/modelx.dart |
index bf12be6392c2b8aaab0b8f03fa20186f58f1e70d..5a488137abfaaa47424f26ba0a16f6fd0de264e4 100644 |
--- a/pkg/compiler/lib/src/elements/modelx.dart |
+++ b/pkg/compiler/lib/src/elements/modelx.dart |
@@ -2483,14 +2483,11 @@ class ConstructorBodyElementX extends BaseFunctionElementX |
if (node.hasEmptyBody) return null; |
ClassElement classElement = constructor.enclosingClass; |
ConstructorBodyElement bodyElement; |
- classElement.forEachBackendMember((Element backendMember) { |
- if (backendMember.isGenerativeConstructorBody) { |
- ConstructorBodyElement body = backendMember; |
- if (body.constructor == constructor) { |
- // TODO(kasperl): Find a way of stopping the iteration |
- // through the backend members. |
- bodyElement = backendMember; |
- } |
+ classElement.forEachBackendMember((ConstructorBodyElement body) { |
+ if (body.constructor == constructor) { |
+ // TODO(kasperl): Find a way of stopping the iteration |
+ // through the backend members. |
+ bodyElement = body; |
} |
}); |
if (bodyElement == null) { |