anchor.diff:    /// Creates a reference to the given root package.
     PackageRef.root(Package package) : super._(package.name, null, package.name);
   
  -  /// Creates a reference to a magic package (see [isMagic]).
  -  PackageRef.magic(String name) : super._magic(name);
  -
     @override
     String toString([PackageDetail detail]) {
       detail ??= PackageDetail.defaults;
  -    if (isMagic || isRoot) return name;
  +    if (isRoot) return name;
   
       var buffer = StringBuffer(name);
       if (detail.showSource ?? source is! HostedSource) {
  
positive.code:   @override
    String toString([PackageDetail detail]) {
      detail ??= PackageDetail.defaults;
      if (isMagic) return name;
  
      var buffer = StringBuffer(name);
      if (detail.showVersion ?? _showVersionConstraint) {
  
negative.code:   @override
    String toString([PackageDetail detail]) {
      detail ??= PackageDetail.defaults;
  
      var buffer = StringBuffer(name);
      if (detail.showVersion ?? !isRoot) buffer.write(' $version');
  