Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(998)

Unified Diff: pkg/analyzer/lib/src/dart/element/type.dart

Issue 2758123002: Create a new element for generic function types (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | pkg/analyzer/lib/src/summary/idl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9dc98451a0c97b1811b4bf18fb3493231e069f6c..1cfdbf8d15b30aee62cbbe56cb56e53a8437e83d 100644
--- a/pkg/analyzer/lib/src/dart/element/type.dart
+++ b/pkg/analyzer/lib/src/dart/element/type.dart
@@ -386,7 +386,7 @@ class FunctionTypeImpl extends TypeImpl implements FunctionType {
* [element], and also initialize [typeArguments] to match the
* [typeParameters], which permits later substitution.
*/
- FunctionTypeImpl(ExecutableElement element,
+ FunctionTypeImpl(FunctionTypedElement element,
[List<FunctionTypeAliasElement> prunedTypedefs])
: this._(element, null, prunedTypedefs, null, null, null, null, false);
@@ -425,7 +425,7 @@ class FunctionTypeImpl extends TypeImpl implements FunctionType {
* Private constructor.
*/
FunctionTypeImpl._(
- TypeParameterizedElement element,
+ FunctionTypedElement element,
String name,
this.prunedTypedefs,
this._typeArguments,
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | pkg/analyzer/lib/src/summary/idl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698