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

Unified Diff: lib/src/log.dart

Issue 2184303002: Make pub strong-mode clean. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 4 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
« no previous file with comments | « lib/src/lock_file.dart ('k') | lib/src/package.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/log.dart
diff --git a/lib/src/log.dart b/lib/src/log.dart
index a235f05bca35d3a070b1ac047ddf239b39cef416..0bbf6e00a475a198fa4b9f0e2dc18cd7367b2775 100644
--- a/lib/src/log.dart
+++ b/lib/src/log.dart
@@ -399,7 +399,8 @@ void dumpTranscript() {
/// [progress]) that cancels the progress animation, although the total time
/// will still be printed once it finishes. If [fine] is passed, the progress
/// information will only be visible at [Level.FINE].
-Future progress(String message, Future callback(), {bool fine: false}) {
+Future/*<T>*/ progress/*<T>*/(String message, Future/*<T>*/ callback(),
+ {bool fine: false}) {
_stopProgress();
var progress = new Progress(message, fine: fine);
« no previous file with comments | « lib/src/lock_file.dart ('k') | lib/src/package.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698