| 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 99f12ab1f335fb88b73b496bac843f1e508cc17b..a746676009d6a0ffbefe8326a1490265a8382289 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/source.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/source.dart
|
| @@ -95,7 +95,8 @@ abstract class Source {
|
| return describeUncached(id);
|
| }
|
|
|
| - return new Pubspec.load(id.name, packageDir, _systemCache.sources);
|
| + return new Pubspec.load(packageDir, _systemCache.sources,
|
| + expectedName: id.name);
|
| });
|
| }
|
|
|
|
|