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

Unified Diff: pkg/analyzer/lib/src/generated/utilities_general.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/generated/type_system.dart ('k') | pkg/analyzer/test/dart/ast/ast_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/utilities_general.dart
diff --git a/pkg/analyzer/lib/src/generated/utilities_general.dart b/pkg/analyzer/lib/src/generated/utilities_general.dart
index 35532b4b61d13e455d7c444cc08a1076fc4fb65a..03be11c8120e2d90616fd72d33bb8780dd318b08 100644
--- a/pkg/analyzer/lib/src/generated/utilities_general.dart
+++ b/pkg/analyzer/lib/src/generated/utilities_general.dart
@@ -128,7 +128,7 @@ abstract class PerformanceTag {
* Make this the current tag for the isolate, run [f], and restore the
* previous tag. Returns the result of invoking [f].
*/
- dynamic/*=E*/ makeCurrentWhile/*<E>*/(dynamic/*=E*/ f());
+ E makeCurrentWhile<E>(E f());
/**
* Reset the total time tracked by all [PerformanceTag]s to zero.
@@ -194,7 +194,7 @@ class _PerformanceTagImpl implements PerformanceTag {
return previous;
}
- dynamic/*=E*/ makeCurrentWhile/*<E>*/(dynamic/*=E*/ f()) {
+ E makeCurrentWhile<E>(E f()) {
PerformanceTag prevTag = makeCurrent();
try {
return f();
« no previous file with comments | « pkg/analyzer/lib/src/generated/type_system.dart ('k') | pkg/analyzer/test/dart/ast/ast_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698