anchor.diff:    if (elementName != null) {
       return new markdown.Element.text('a', elementName);
     }
  -  return _fixComplexReference(name, currentLibrary, currentClass, currentMember);
  +  return _fixComplexReference(name, currentLibrary, currentClass,
  +      currentMember);
   }
   
   markdown.Node fixReferenceWithScope(String name, DeclarationMirror scope) {
  
positive.code:   Map<String, Typedef> typedefs = {};
    Map<String, Class> errors = {};
  
    void addClass(ClassMirror classMirror) {
      if (classMirror.isTypedef) {
        // This is actually a Dart2jsTypedefMirror, and it does define value,
        // but we don't have visibility to that type.
  
negative.code:       owningClass.ensureComments();
      }
      return super.comment;
    }
  }
  
  class ExportedVariable extends Variable implements Exported {
    Library _exportingLibrary;
  
    ExportedVariable(String variableName, VariableMirror originalVariable,
        Library this._exportingLibrary) : super(variableName, originalVariable);
  
    String get fileName => '${_exportingLibrary.packageName}/' +
        super.fileName.substring(packagePrefix.length);
  
    void updateExports(Map<String, Indexable> libraryExports) {
      // TODO(efortuna): if this class points to another exported class or type
      // of some sort, then that reference needs to be updated here.
      /* these need to be updated:
      'comment': comment,
      'type': new List.filled(1, type.toMap()),
      'annotations': annotations.map((a) => a.toMap()).toList()
      */
    }
  }
  
  