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

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

Issue 2736643006: More support 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 | « no previous file | pkg/analyzer/lib/src/dart/element/builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/dart/element/element.dart
diff --git a/pkg/analyzer/lib/dart/element/element.dart b/pkg/analyzer/lib/dart/element/element.dart
index 7cb29398897e2a5679fe850b3e51399f34ca0be6..c02e88a6d368a7c61b06704550152075bb4f856a 100644
--- a/pkg/analyzer/lib/dart/element/element.dart
+++ b/pkg/analyzer/lib/dart/element/element.dart
@@ -1283,14 +1283,11 @@ abstract class FunctionTypeAliasElement
static List<FunctionTypeAliasElement> EMPTY_LIST =
new List<FunctionTypeAliasElement>(0);
- /**
- * Return the compilation unit in which this type alias is defined.
- */
@override
CompilationUnitElement get enclosingElement;
@override
- FunctionTypeAlias computeNode();
+ TypeAlias computeNode();
}
/**
@@ -1314,9 +1311,7 @@ abstract class FunctionTypedElement implements TypeParameterizedElement {
*/
DartType get returnType;
- /**
- * The type of this element, which will be a function type.
- */
+ @override
FunctionType get type;
}
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/element/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698