| 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 0b3ac6b21cba5e9510d462425590fd2a0430bcac..0cb986d52f044cf2262dd1a45f12e03ef250bbff 100644
|
| --- a/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| +++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| @@ -1780,16 +1780,7 @@ class _UnitResynthesizer {
|
| ClassElementImpl classElement, ElementHolder holder) {
|
| assert(serializedExecutable.kind == UnlinkedExecutableKind.constructor);
|
| currentConstructor = new ConstructorElementImpl.forSerialized(
|
| - serializedExecutable, classElement);
|
| - currentConstructor.isCycleFree = serializedExecutable.isConst &&
|
| - !constCycles.contains(serializedExecutable.constCycleSlot);
|
| - if (serializedExecutable.name.isEmpty) {
|
| - currentConstructor.nameEnd =
|
| - serializedExecutable.nameOffset + classElement.name.length;
|
| - } else {
|
| - currentConstructor.nameEnd = serializedExecutable.nameEnd;
|
| - currentConstructor.periodOffset = serializedExecutable.periodOffset;
|
| - }
|
| + serializedExecutable, constCycles, classElement);
|
| constructors[serializedExecutable.name] = currentConstructor;
|
| currentConstructor.constantInitializers = serializedExecutable
|
| .constantInitializers
|
|
|