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

Unified Diff: pkg/analyzer/lib/src/kernel/ast_from_analyzer.dart

Issue 2997593002: Replace comment style generic method syntax with real syntax (TBR) (Closed)
Patch Set: Created 3 years, 4 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/task/model.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/kernel/ast_from_analyzer.dart
diff --git a/pkg/analyzer/lib/src/kernel/ast_from_analyzer.dart b/pkg/analyzer/lib/src/kernel/ast_from_analyzer.dart
index 492bb6fc0fde62ac2457972fd51e5c56259d155c..648db1754fe52c774de84234f5ad0ec15dc754a4 100644
--- a/pkg/analyzer/lib/src/kernel/ast_from_analyzer.dart
+++ b/pkg/analyzer/lib/src/kernel/ast_from_analyzer.dart
@@ -2298,9 +2298,8 @@ class TypeAnnotationBuilder extends GeneralizingAstVisitor<ast.DartType> {
}
}
- static Iterable/*<E>*/ concatenate/*<E>*/(
- Iterable/*<E>*/ x, Iterable/*<E>*/ y) =>
- <Iterable<dynamic/*=E*/ >>[x, y].expand((z) => z);
+ static Iterable<E> concatenate<E>(Iterable<E> x, Iterable<E> y) =>
+ <Iterable<E>>[x, y].expand((z) => z);
ast.TypeParameter convertTypeParameter(TypeParameterElement typeParameter,
List<TypeParameterElement> boundVariables) {
@@ -3079,7 +3078,7 @@ Element desynthesizeSetter(Element element) {
return element;
}
-void sortAndRemoveDuplicates/*<T extends Comparable<T>>*/(List/*<T>*/ list) {
+void sortAndRemoveDuplicates<T extends Comparable<T>>(List<T> list) {
list.sort();
int deleted = 0;
for (int i = 1; i < list.length; ++i) {
« no previous file with comments | « no previous file | pkg/analyzer/lib/task/model.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698