| Index: pkg/analyzer/lib/src/dart/element/element.dart
|
| diff --git a/pkg/analyzer/lib/src/dart/element/element.dart b/pkg/analyzer/lib/src/dart/element/element.dart
|
| index 44c7137bc2049fbf7ec19f586c81b3df4aa12d77..dbd5f23ca78e440ec0bd1619a025d5d98e69940a 100644
|
| --- a/pkg/analyzer/lib/src/dart/element/element.dart
|
| +++ b/pkg/analyzer/lib/src/dart/element/element.dart
|
| @@ -705,7 +705,6 @@ class ClassElementImpl extends ElementImpl implements ClassElement {
|
| new ConstructorElementImpl(superclassConstructor.name, -1);
|
| implicitConstructor.synthetic = true;
|
| implicitConstructor.redirectedConstructor = superclassConstructor;
|
| - implicitConstructor.const2 = superclassConstructor.isConst;
|
| implicitConstructor.returnType = type;
|
| List<ParameterElement> superParameters = superclassConstructor.parameters;
|
| int count = superParameters.length;
|
| @@ -4547,6 +4546,11 @@ class TypeParameterElementImpl extends ElementImpl
|
| TypeParameterElementImpl(String name, int offset) : super(name, offset);
|
|
|
| /**
|
| + * Initialize a newly created type parameter element to have the given [name].
|
| + */
|
| + TypeParameterElementImpl.forNode(Identifier name) : super.forNode(name);
|
| +
|
| + /**
|
| * Initialize a newly created synthetic type parameter element to have the
|
| * given [name], and with [synthetic] set to true.
|
| */
|
| @@ -4554,11 +4558,6 @@ class TypeParameterElementImpl extends ElementImpl
|
| synthetic = true;
|
| }
|
|
|
| - /**
|
| - * Initialize a newly created type parameter element to have the given [name].
|
| - */
|
| - TypeParameterElementImpl.forNode(Identifier name) : super.forNode(name);
|
| -
|
| @override
|
| ElementKind get kind => ElementKind.TYPE_PARAMETER;
|
|
|
|
|