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

Unified Diff: pkg/analyzer/lib/src/dart/ast/ast.dart

Issue 2654653003: First step toward resolving generic function types (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | pkg/analyzer/lib/src/dart/element/type.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/dart/ast/ast.dart
diff --git a/pkg/analyzer/lib/src/dart/ast/ast.dart b/pkg/analyzer/lib/src/dart/ast/ast.dart
index d157276a2a9b958e73be3113ce17bf478723b4e6..4fc77fdee8460e6e8b9209cedbfa8ea5e0e06700 100644
--- a/pkg/analyzer/lib/src/dart/ast/ast.dart
+++ b/pkg/analyzer/lib/src/dart/ast/ast.dart
@@ -5699,6 +5699,9 @@ class GenericFunctionTypeImpl extends TypeAnnotationImpl
*/
FormalParameterList _parameters;
+ @override
+ DartType type;
+
/**
* Initialize a newly created generic function type.
*/
@@ -5742,9 +5745,6 @@ class GenericFunctionTypeImpl extends TypeAnnotationImpl
_returnType = _becomeParentOf(type as AstNodeImpl);
}
- @override
- DartType get type => null;
-
/**
* Return the type parameters for the function type, or `null` if the function
* type does not have any type parameters.
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/element/type.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698