Index: pkg/analyzer/lib/src/summary/resynthesize.dart |
diff --git a/pkg/analyzer/lib/src/summary/resynthesize.dart b/pkg/analyzer/lib/src/summary/resynthesize.dart |
index dc673e69a137b06d102bde2f151a5a8e2c2d067f..e6729c51d171f5942eaea3a84d661b0e1fc15f53 100644 |
--- a/pkg/analyzer/lib/src/summary/resynthesize.dart |
+++ b/pkg/analyzer/lib/src/summary/resynthesize.dart |
@@ -1724,9 +1724,6 @@ class _UnitResynthesizer { |
// Synthesize implicit constructors. |
ConstructorElementImpl constructor = new ConstructorElementImpl('', -1); |
constructor.synthetic = true; |
- constructor.returnType = classElement.type; |
- constructor.type = new FunctionTypeImpl.elementWithNameAndArgs( |
- constructor, null, classElement.type.typeArguments, false); |
memberHolder.addConstructor(constructor); |
} |
classElement.constructors = memberHolder.constructors; |