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

Unified Diff: pkg/compiler/lib/src/resolution/resolution_strategy.dart

Issue 2981633002: Introduce TypedefEntity (Closed)
Patch Set: Created 3 years, 5 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
Index: pkg/compiler/lib/src/resolution/resolution_strategy.dart
diff --git a/pkg/compiler/lib/src/resolution/resolution_strategy.dart b/pkg/compiler/lib/src/resolution/resolution_strategy.dart
index fff581f574bbc8604248fc6f4f4f4eb6dfa0219b..8c92e0bd0a21341b3598416f1f33129ca47090a7 100644
--- a/pkg/compiler/lib/src/resolution/resolution_strategy.dart
+++ b/pkg/compiler/lib/src/resolution/resolution_strategy.dart
@@ -678,6 +678,11 @@ class _CompilerElementEnvironment implements ElementEnvironment {
});
return values;
}
+
+ @override
+ ResolutionFunctionType getTypedefAlias(covariant TypedefElement typedef) {
+ return typedef.alias;
+ }
}
/// AST-based logic for processing annotations. These annotations are processed

Powered by Google App Engine
This is Rietveld 408576698