| 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 03c361d8fe1815d3686e0b962296c22ec350d5ef..9c357daca7c50e2f51c6fc26f60de4d2d79d81ed 100644
|
| --- a/pkg/analyzer/lib/src/dart/element/type.dart
|
| +++ b/pkg/analyzer/lib/src/dart/element/type.dart
|
| @@ -200,9 +200,9 @@ class FunctionTypeImpl extends TypeImpl implements FunctionType {
|
| * Initialize a newly created function type to be declared by the given
|
| * [element], with the given [name] and [typeArguments].
|
| */
|
| - FunctionTypeImpl.elementWithNameAndArgs(
|
| - Element element, String name, List<DartType> typeArguments)
|
| - : this._(element, name, null, typeArguments, true);
|
| + FunctionTypeImpl.elementWithNameAndArgs(Element element, String name,
|
| + List<DartType> typeArguments, bool isInstantiated)
|
| + : this._(element, name, null, typeArguments, isInstantiated);
|
|
|
| /**
|
| * Initialize a newly created function type to be declared by the given
|
| @@ -369,6 +369,11 @@ class FunctionTypeImpl extends TypeImpl implements FunctionType {
|
| return new List<DartType>.from(typeArguments.skip(skipCount));
|
| }
|
|
|
| + /**
|
| + * Return `true` if this type is the result of instantiating type parameters.
|
| + */
|
| + bool get isInstantiated => _isInstantiated;
|
| +
|
| @override
|
| Map<String, DartType> get namedParameterTypes {
|
| LinkedHashMap<String, DartType> namedParameterTypes =
|
|
|