Index: pkg/analyzer/lib/src/generated/parser.dart |
diff --git a/pkg/analyzer/lib/src/generated/parser.dart b/pkg/analyzer/lib/src/generated/parser.dart |
index a608baddbe1fbba5e97588bf475f4d3e1d94c8bd..0291fde8a8cf9200afb06937f81813d3f206bbd6 100644 |
--- a/pkg/analyzer/lib/src/generated/parser.dart |
+++ b/pkg/analyzer/lib/src/generated/parser.dart |
@@ -298,8 +298,9 @@ class Parser { |
* parameters, followed by a left-parenthesis. This is used by |
* [parseTypeAlias] to determine whether or not to parse a return type. |
*/ |
- @deprecated |
bool get hasReturnTypeInTypeAlias { |
+ // TODO(brianwilkerson) This is too expensive as implemented and needs to be |
+ // re-implemented or removed. |
Token next = skipReturnType(_currentToken); |
if (next == null) { |
return false; |