Index: pkg/compiler/lib/src/inferrer/type_graph_nodes.dart |
diff --git a/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart b/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart |
index c1d51cc2f797f663aa49234eebffef938b083be1..dd506519cbadfc2dab628f59c6b5da6ba6b30d1d 100644 |
--- a/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart |
+++ b/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart |
@@ -415,7 +415,8 @@ class MemberTypeInformation extends ElementTypeInformation |
} else { |
assert(element.isFunction || |
element.isGetter || |
- element.isSetter); |
+ element.isSetter || |
+ element.isConstructor); |
TypedElement typedElement = element; |
var elementType = typedElement.type; |
if (elementType.kind != TypeKind.FUNCTION) { |