Removed UNRESOLVED_IDE_TEMPLATE diagnostic factory, since this check will be moved to CLI.

This commit is contained in:
Evgeny Gerashchenko
2012-06-20 17:05:27 +04:00
parent a7596a81e6
commit c4b0522c42
6 changed files with 0 additions and 60 deletions
@@ -145,9 +145,6 @@ public class JetPsiChecker implements Annotator {
if (!diagnostic.isValid()) return;
List<TextRange> textRanges = diagnostic.getTextRanges();
if (diagnostic.getSeverity() == Severity.ERROR) {
if (diagnostic.getFactory() == Errors.UNRESOLVED_IDE_TEMPLATE) {
return;
}
if (diagnostic.getFactory() instanceof UnresolvedReferenceDiagnosticFactory) {
JetReferenceExpression referenceExpression = (JetReferenceExpression)diagnostic.getPsiElement();
PsiReference reference = referenceExpression.getReference();