| 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 4e9fac6ef0923242e6005738b4403eac66ef7603..2927cc4b8ec797aac4be1733336b2360f9559591 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/source.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/source.dart
|
| @@ -292,6 +292,8 @@ abstract class Source {
|
| if (shouldCache) {
|
| throw new UnimplementedError("Source $name must implement this.");
|
| }
|
| + throw new UnsupportedError("Cannot call getCachedPackages() on an "
|
| + "uncached source.");
|
| }
|
|
|
| /// Returns the source's name.
|
|
|