No debug errors when error reporting is off
This commit is contained in:
@@ -46,7 +46,7 @@ public class DebugInfoAnnotator implements Annotator {
|
||||
|
||||
@Override
|
||||
public void annotate(@NotNull PsiElement element, @NotNull final AnnotationHolder holder) {
|
||||
if (!debugInfoEnabled) {
|
||||
if (!debugInfoEnabled || !JetPsiChecker.isErrorReportingEnabled()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user