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

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

Issue 2948393002: Clean up type parameters in comments (Closed)
Patch Set: Created 3 years, 6 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/src/dart/element/element.dart ('k') | pkg/analyzer/lib/src/dart/element/member.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/dart/element/handle.dart
diff --git a/pkg/analyzer/lib/src/dart/element/handle.dart b/pkg/analyzer/lib/src/dart/element/handle.dart
index 4b285cc9737f9cc5c20522fd465fe11b655d56ba..5a15099295aa52cf2356eec64c84b2ab319a7159 100644
--- a/pkg/analyzer/lib/src/dart/element/handle.dart
+++ b/pkg/analyzer/lib/src/dart/element/handle.dart
@@ -412,8 +412,7 @@ abstract class ElementHandle implements Element {
object is Element && object.location == _location;
@override
- /*=T*/ accept/*<T>*/(ElementVisitor<dynamic/*=T*/ > visitor) =>
- actualElement.accept(visitor);
+ T accept<T>(ElementVisitor<T> visitor) => actualElement.accept(visitor);
@override
String computeDocumentationComment() => documentationComment;
@@ -422,8 +421,7 @@ abstract class ElementHandle implements Element {
AstNode computeNode() => actualElement.computeNode();
@override
- Element/*=E*/ getAncestor/*<E extends Element >*/(
- Predicate<Element> predicate) =>
+ E getAncestor<E extends Element>(Predicate<Element> predicate) =>
actualElement.getAncestor(predicate);
@override
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | pkg/analyzer/lib/src/dart/element/member.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698