| Index: utils/pub/pubspec.dart
|
| diff --git a/utils/pub/pubspec.dart b/utils/pub/pubspec.dart
|
| index 3e5fb143e1e95e0e68b393d6b646c0b3d0b7cf36..078b7e05dc83c3c9271cf4ac09d6796f3344179f 100644
|
| --- a/utils/pub/pubspec.dart
|
| +++ b/utils/pub/pubspec.dart
|
| @@ -154,7 +154,7 @@ List<PackageRef> _parseDependencies(SourceRegistry sources, yaml) {
|
| versionConstraint = new VersionConstraint.parse(spec.remove('version'));
|
| }
|
|
|
| - var sourceNames = spec.keys;
|
| + var sourceNames = spec.keys.toList();
|
| if (sourceNames.length > 1) {
|
| throw new FormatException(
|
| 'Dependency $name may only have one source: $sourceNames.');
|
|
|