Index: pkg/analyzer/lib/src/generated/element.dart |
diff --git a/pkg/analyzer/lib/src/generated/element.dart b/pkg/analyzer/lib/src/generated/element.dart |
index 7793d0d0b524d4ee4f7bf215e0c1805e7eeb3b73..aac31823a42d03287c7d6ceb162b07f42e723b92 100644 |
--- a/pkg/analyzer/lib/src/generated/element.dart |
+++ b/pkg/analyzer/lib/src/generated/element.dart |
@@ -4514,15 +4514,6 @@ class FunctionElementImpl extends ExecutableElementImpl |
_visibleRangeOffset = offset; |
_visibleRangeLength = length; |
} |
- |
- /** |
- * Set the parameters defined by this type alias to the given [parameters] |
- * without becoming the parent of the parameters. This should only be used by |
- * the [TypeResolverVisitor] when creating a synthetic type alias. |
- */ |
- void shareParameters(List<ParameterElement> parameters) { |
- this._parameters = parameters; |
- } |
} |
/** |
@@ -4829,6 +4820,24 @@ class FunctionTypeAliasElementImpl extends ElementImpl |
return null; |
} |
+ /** |
+ * Set the parameters defined by this type alias to the given [parameters] |
+ * without becoming the parent of the parameters. This should only be used by |
+ * the [TypeResolverVisitor] when creating a synthetic type alias. |
+ */ |
+ void shareParameters(List<ParameterElement> parameters) { |
+ this._parameters = parameters; |
+ } |
+ |
+ /** |
+ * Set the type parameters defined for this type to the given [typeParameters] |
+ * without becoming the parent of the parameters. This should only be used by |
+ * the [TypeResolverVisitor] when creating a synthetic type alias. |
+ */ |
+ void shareTypeParameters(List<TypeParameterElement> typeParameters) { |
+ this._typeParameters = typeParameters; |
+ } |
+ |
@override |
void visitChildren(ElementVisitor visitor) { |
super.visitChildren(visitor); |