anchor.diff:          _resultController.add(result);
         } catch (exception, stackTrace) {
           _reportException(path, exception, stackTrace);
  +        _clearLibraryContextAfterException();
         }
         return;
       }
  
positive.code:         _requestedParts.remove(path).forEach((completer) {
            completer.completeError(exception, stackTrace);
          });
        }
        return;
      }
  
negative.code:     _libraryContext = null;
      _priorityResults.clear();
      _scheduler.notify(this);
    }
  
    /// There was an exception during a file analysis, we don't know why.
    /// But it might have been caused by an inconsistency of files state, and
    /// the library context state. Reset the library context, and hope that
    /// we will solve the inconsistency while loading / building summaries.
    void _clearLibraryContextAfterException() {
      _libraryContext = null;
    }
  
    /// Return the cached or newly computed analysis result of the file with the
  