anchor.diff:          warningCount++;
         } else if (kind == Diagnostic.ERROR) {
           errorCount++;
  +      } else if (kind == Diagnostic.INFO || kind == Diagnostic.VERBOSE_INFO){
  +        infoCount++;
         } else {
           throw kind;
         }
  
positive.code:   result.then((String code) {
      Expect.isNull(code);
      Expect.isTrue(10 < count);
      // Two warnings for each time RECURSIVE_MAIN is read, except the
      // first time.
      Expect.equals(2 * (count - 1), warningCount);
      Expect.equals(1, errorCount);
    }, onError: (AsyncError e) {
        throw 'Compilation failed';
    });
  
negative.code: 
    int warningCount = 0;
    int errorCount = 0;
    int infoCount = 0;
    void handler(Uri uri, int begin, int end, String message, Diagnostic kind) {
      if (uri != null) {
        // print('$uri:$begin:$end: $kind: $message');
  