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

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

Issue 2660403005: Revert "First step toward resolving generic function types" (TBR) (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 d1c684bc943bf2bb6ec103e1fc139e05f19ef1e9..8722aa42f02c12b3752fa1e645d748459470d91f 100644
--- a/pkg/analyzer/lib/src/dart/ast/ast.dart
+++ b/pkg/analyzer/lib/src/dart/ast/ast.dart
@@ -5700,9 +5700,6 @@ class GenericFunctionTypeImpl extends TypeAnnotationImpl
*/
FormalParameterList _parameters;
- @override
- DartType type;
-
/**
* Initialize a newly created generic function type.
*/
@@ -5746,6 +5743,9 @@ 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