Index: pkg/analyzer/lib/src/dart/element/builder.dart |
diff --git a/pkg/analyzer/lib/src/dart/element/builder.dart b/pkg/analyzer/lib/src/dart/element/builder.dart |
index fdc9adb2facca8aea77d62e27dbf3142d24c4e25..33fc906b292d15949b26cbeca4cad8fc8219dedb 100644 |
--- a/pkg/analyzer/lib/src/dart/element/builder.dart |
+++ b/pkg/analyzer/lib/src/dart/element/builder.dart |
@@ -1300,9 +1300,7 @@ class ElementBuilder extends RecursiveAstVisitor<Object> { |
ConstructorElementImpl constructor = |
new ConstructorElementImpl.forNode(null); |
constructor.synthetic = true; |
- constructor.returnType = definingClass.type; |
constructor.enclosingElement = definingClass; |
- constructor.type = new FunctionTypeImpl(constructor); |
return <ConstructorElement>[constructor]; |
} |