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

Unified Diff: sdk/lib/_internal/pub/lib/src/source/hosted.dart

Issue 89493002: Fix some static warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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
Index: sdk/lib/_internal/pub/lib/src/source/hosted.dart
diff --git a/sdk/lib/_internal/pub/lib/src/source/hosted.dart b/sdk/lib/_internal/pub/lib/src/source/hosted.dart
index 265c844422432a9fc63cea69bb5826f8ab746f07..dbaccfa5e9eb51a388b18e85f568345589db7a57 100644
--- a/sdk/lib/_internal/pub/lib/src/source/hosted.dart
+++ b/sdk/lib/_internal/pub/lib/src/source/hosted.dart
@@ -75,7 +75,7 @@ class HostedSource extends Source {
expectedName: id.name, location: url);
}).catchError((ex, stackTrace) {
var parsed = _parseDescription(id.description);
- _throwFriendlyError(ex, stackTrace, id, parsed.last);
+ _throwFriendlyError(ex, stackTrace, id.name, parsed.last);
});
}

Powered by Google App Engine
This is Rietveld 408576698