| Index: utils/pub/package.dart
 | 
| diff --git a/utils/pub/package.dart b/utils/pub/package.dart
 | 
| index dd988cb61efd79bfb03a3b15356adb879ccc1ca0..87316550a3b1c9622e238c4c30ba639623bbe359 100644
 | 
| --- a/utils/pub/package.dart
 | 
| +++ b/utils/pub/package.dart
 | 
| @@ -85,7 +85,7 @@ class Package {
 | 
|  /// different directories that happen to contain identical packages. For
 | 
|  /// example, the same package may be available from multiple sources. As far as
 | 
|  /// Pub is concerned, those packages are different.
 | 
| -class PackageId implements Comparable {
 | 
| +class PackageId implements Comparable<PackageId> {
 | 
|    /// The name of the package being identified.
 | 
|    final String name;
 | 
|  
 | 
| @@ -129,9 +129,7 @@ class PackageId implements Comparable {
 | 
|      return "$name $version from $source";
 | 
|    }
 | 
|  
 | 
| -  int compareTo(Comparable other) {
 | 
| -    if (other is! PackageId) throw new ArgumentError(other);
 | 
| -
 | 
| +  int compareTo(PackageId other) {
 | 
|      var sourceComp = source.name.compareTo(other.source.name);
 | 
|      if (sourceComp != 0) return sourceComp;
 | 
|  
 | 
| 
 |