anchor.diff:      final matches = <String>[];
   
       // Check the class names in the library
  -    for (final ClassReference classReference in classReferences) {
  +    for (final ClassReference classReference
  +        in classReferences.cast<ClassReference>()) {
         matches.addAll(_maybeAddMatch(classReference, searchingValue));
       }
   
  
positive.code: 
    bool _selectInTree(Reference reference, search) {
      if (reference.name == search) {
        controller.selectionSnapshotNotifier.value = Selection(
          node: reference,
          nodeIndex: reference.index,
          scrollIntoView: true,
        );
        controller.clearSearchAutoComplete();
        return true;
      }
      return false;
  
negative.code:               }
              }
            } else if (reference.isExternals) {
              final refs = reference as ExternalReferences;
              for (final external in refs.children.cast<ExternalReference>()) {
                final foundIt = _selectItemInTree(external, searchingValue);
                if (foundIt) {
                  return true;
  