anchor.diff:                CheckedModeCompileTimeErrorCode.VARIABLE_TYPE_MISMATCH)) {
           _errorReporter.reportError(data);
         } else if (errorCode != null) {
  -        _errorReporter.reportError(new AnalysisError.con2(
  +        _errorReporter.reportError(new AnalysisError(
               data.source, data.offset, data.length, errorCode));
         }
       }
  
positive.code:   Source getSource(UriBasedDirective directive) {
      StringLiteral uriLiteral = directive.uri;
      if (uriLiteral is StringInterpolation) {
        _errorListener.onError(new AnalysisError.con2(librarySource,
            uriLiteral.offset, uriLiteral.length,
            CompileTimeErrorCode.URI_WITH_INTERPOLATION));
        return null;
      }
      String uriContent = uriLiteral.stringValue.trim();
  
negative.code:     if (_hasHiddenName) {
        Element hiddenElement = _hiddenElements[name];
        if (hiddenElement != null) {
          errorListener.onError(new AnalysisError(getSource(identifier),
              identifier.offset, identifier.length,
              CompileTimeErrorCode.REFERENCED_BEFORE_DECLARATION, []));
          return hiddenElement;
  