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

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

Issue 2787513003: Expose function contained in GenericTypeAliasImpl. (Closed)
Patch Set: Add disclaimer to Generic classes 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/dart/element/element.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/dart/element/element.dart
diff --git a/pkg/analyzer/lib/src/dart/element/element.dart b/pkg/analyzer/lib/src/dart/element/element.dart
index 7ce582696aedfd08f6f0d0745ca17ca620d856e7..ea9a4281206ee0afeb8b179dd1bd997a4385cb59 100644
--- a/pkg/analyzer/lib/src/dart/element/element.dart
+++ b/pkg/analyzer/lib/src/dart/element/element.dart
@@ -5029,7 +5029,7 @@ class GenericFunctionTypeElementImpl extends ElementImpl
*/
class GenericTypeAliasElementImpl extends ElementImpl
with TypeParameterizedElementMixin
- implements FunctionTypeAliasElement {
+ implements GenericTypeAliasElement {
/**
* The unlinked representation of the type in the summary.
*/
@@ -5097,10 +5097,7 @@ class GenericTypeAliasElementImpl extends ElementImpl
CompilationUnitElementImpl get enclosingUnit =>
_enclosingElement as CompilationUnitElementImpl;
- /**
- * Return the generic function type element representing the generic function
- * type on the right side of the equals.
- */
+ @override
GenericFunctionTypeElement get function {
if (_function == null && _unlinkedTypedef != null) {
DartType type = enclosingUnit.resynthesizerContext.resolveTypeRef(
« no previous file with comments | « pkg/analyzer/lib/dart/element/element.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698