fixed: DEBUG_INFO_ERROR_ELEMENT should be visible in tests

This commit is contained in:
Svetlana Isakova
2012-11-17 19:53:18 +04:00
parent 993d3a3469
commit d0a6f6252d
35 changed files with 92 additions and 94 deletions
@@ -55,7 +55,7 @@ public class DebugInfoAnnotator implements Annotator {
final BindingContext bindingContext = WholeProjectAnalyzerFacade.analyzeProjectWithCacheOnAFile(file).getBindingContext();
DebugInfoUtil.markDebugAnnotations(file, bindingContext, new DebugInfoUtil.DebugInfoReporter() {
@Override
public void reportErrorElement(@NotNull JetReferenceExpression expression) {
public void reportElementWithErrorType(@NotNull JetReferenceExpression expression) {
holder.createErrorAnnotation(expression, "[DEBUG] Resolved to error element")
.setTextAttributes(JetHighlightingColors.RESOLVED_TO_ERROR);
}