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

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

Issue 113453005: Add stack chain support to pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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.dart
diff --git a/sdk/lib/_internal/pub/lib/src/source.dart b/sdk/lib/_internal/pub/lib/src/source.dart
index a27a9095442cd9c116befc32d424f89bf9e8da35..299f6cfc75eb97f42e1c5ccf142e7132ac87c82d 100644
--- a/sdk/lib/_internal/pub/lib/src/source.dart
+++ b/sdk/lib/_internal/pub/lib/src/source.dart
@@ -7,6 +7,7 @@ library pub.source;
import 'dart:async';
import 'package:path/path.dart' as path;
+import 'package:stack_trace/stack_trace.dart';
import 'io.dart';
import 'package.dart';
@@ -203,7 +204,8 @@ abstract class Source {
/// This doesn't need to be implemented if [shouldCache] is false.
Future<String> systemCacheDirectory(PackageId id) {
return new Future.error(
- "systemCacheDirectory() must be implemented if shouldCache is true.");
+ "systemCacheDirectory() must be implemented if shouldCache is true.",
+ new Chain.current());
}
/// When a [Pubspec] or [LockFile] is parsed, it reads in the description for

Powered by Google App Engine
This is Rietveld 408576698