| Index: pkg/analyzer/lib/src/dart/element/type.dart
|
| diff --git a/pkg/analyzer/lib/src/dart/element/type.dart b/pkg/analyzer/lib/src/dart/element/type.dart
|
| index 6acbd8919b87c3709c43b718903f68cf74c3c4be..4268f1ce5ccdbba8bd20f95e3644d7f8f168d5e1 100644
|
| --- a/pkg/analyzer/lib/src/dart/element/type.dart
|
| +++ b/pkg/analyzer/lib/src/dart/element/type.dart
|
| @@ -195,6 +195,14 @@ class FunctionTypeImpl extends TypeImpl implements FunctionType {
|
|
|
| /**
|
| * Initialize a newly created function type to be declared by the given
|
| + * [element], with the given [name].
|
| + */
|
| + FunctionTypeImpl.elementWithName(Element element, String name)
|
| + : prunedTypedefs = null,
|
| + super(element, name);
|
| +
|
| + /**
|
| + * Initialize a newly created function type to be declared by the given
|
| * [element].
|
| */
|
| FunctionTypeImpl.forTypedef(FunctionTypeAliasElement element,
|
| @@ -1098,6 +1106,14 @@ class InterfaceTypeImpl extends TypeImpl implements InterfaceType {
|
| : super(element, element.displayName);
|
|
|
| /**
|
| + * Initialize a newly created type to be declared by the given [element],
|
| + * with the given [name].
|
| + */
|
| + InterfaceTypeImpl.elementWithName(ClassElement element, String name)
|
| + : prunedTypedefs = null,
|
| + super(element, name);
|
| +
|
| + /**
|
| * Initialize a newly created type to have the given [name]. This constructor
|
| * should only be used in cases where there is no declaration of the type.
|
| */
|
|
|