anchor.diff:        String traceLine = stackTrace[i];
         if (traceLine.startsWith(framePattern) &&
             traceLine.contains('(package:')) {
  +        if (traceLine.contains('ResolutionApplier._get') ||
  +            traceLine.contains('ElementWalker.getAccessor') ||
  +            traceLine.contains('ElementWalker.getClass') ||
  +            traceLine.contains('ElementWalker.getEnum') ||
  +            traceLine.contains('ElementWalker.getVariable') ||
  +            traceLine.contains('DeclarationResolver._match') ||
  +            traceLine.contains('DeclarationResolver.applyParameters') ||
  +            traceLine.contains('ResolutionStorer._store')) {
  +          return stackTrace[i + 1];
  +        } else if (traceLine.contains('_FunctionTypeImplLazy.substitute2') ||
  +            traceLine.contains('ElementImpl.encloseElement') ||
  +            traceLine.contains('ResolutionStorer._validateLocation')) {
  +          return stackTrace[i + 2];
  +        }
           return traceLine;
         }
       }
  
positive.code:   List<String> keys = testsByExpectedAndActual.keys.toList();
    keys.sort();
    for (String key in keys) {
      print(key);
      List<TestResult> results = testsByExpectedAndActual[key];
      results.sort((first, second) => first.testName.compareTo(second.testName));
      for (TestResult result in results) {
        if (result.message == null) {
          print('  ${result.testName}');
  
negative.code:   if (testsByStackTrace.isNotEmpty) {
      print('');
      print('Unique stack traces (${testsByStackTrace.length}):');
      List<String> keys = testsByStackTrace.keys.toList();
      keys.sort((first, second) {
        return testsByStackTrace[second].length - testsByStackTrace[first].length;
      });
      for (String traceLine in keys) {
        print('  (${testsByStackTrace[traceLine].length}) $traceLine');
      }
    }
  }
  