anchor.diff:      }
     }
   
  -  /**
  -   * Process each of the entries in the [packageMap].
  -   */
  +  /// Process each of the entries in the [packageMap].
     void _processPackageMap(Map<String, List<Folder>> packageMap) {
       packageMap.values.forEach(_processPackage);
     }
   
  -  /**
  -   * Read and return the contents of [libDir]/[EMBEDDER_FILE_NAME], or `null` if
  -   * the file doesn't exist.
  -   */
  +  /// Read and return the contents of [libDir]/[EMBEDDER_FILE_NAME], or `null` if
  +  /// the file doesn't exist.
     String _readEmbedderYaml(Folder libDir) {
       File file = libDir.getChild(EMBEDDER_FILE_NAME);
       try {
  
positive.code:     return workspace.createSourceFactory(sdk, summaryData);
    }
  
    /**
     * Add any [declaredVariables] to the list of declared variables used by the
     * given analysis [driver].
     */
    void declareVariablesInDriver(AnalysisDriver driver) {
      Map<String, String> variables = builderOptions.declaredVariables;
      if (variables != null && variables.isNotEmpty) {
  
negative.code:     }
    }
  
    /// Find the location of the package resolution file/directory for the
    /// directory at the given absolute [path].
    ///
    /// Checks for a `.packages` file in the [path]. If not found,
    /// checks for a `packages` directory in the same directory. If still not
    /// found, starts checking parent directories for `.packages` until reaching
    /// the root directory.
    ///
    /// Return a [File] object representing a `.packages` file if one is found, a
    /// [Folder] object for the `packages/` directory if that is found, or `null`
    /// if neither is found.
    Resource _findPackagesLocation(String path) {
      var resource = resourceProvider.getResource(path);
      while (resource != null) {
  