anchor.diff:      if (packageMeta.isSdk) {
         libraries.addAll(getSdkLibrariesToDocument(sdk, context));
       }
  +
  +    List<Source> sources = [];
  +
       files.forEach((String filePath) {
         String name = filePath;
         if (name.startsWith(Directory.current.path)) {
  
positive.code: 
  import 'package:analyzer/src/generated/element.dart';
  import 'package:analyzer/src/generated/engine.dart';
  import 'package:analyzer/src/generated/java_io.dart';
  import 'package:analyzer/src/generated/sdk.dart';
  import 'package:analyzer/src/generated/sdk_io.dart';
  
negative.code: 
    DartDocResults(this.packageMeta, this.package, this.outDir);
  }
  
  class _Error implements Comparable {
    final AnalysisError error;
    final LineInfo lineInfo;
    final String projectPath;
  
    _Error(this.error, this.lineInfo, this.projectPath);
  
    ErrorSeverity get severity => error.errorCode.errorSeverity;
    String get severityName => error.errorCode.errorSeverity.displayName;
    String get message => error.message;
    String get description => '${message} at ${location}, line ${line}.';
    int get line => lineInfo.getLocation(error.offset).lineNumber;
  
    String get location {
      String path = error.source.fullName;
      if (path.startsWith(projectPath)) {
        path = path.substring(projectPath.length + 1);
      }
      return path;
    }
  
    int compareTo(_Error other) {
      if (severity == other.severity) {
        int cmp = error.source.fullName.compareTo(other.error.source.fullName);
        return cmp == 0 ? line - other.line : cmp;
      } else {
        return other.severity - severity;
      }
    }
  
    String toString() => '[${severityName}] ${description}';
  }
  