diagnostics

This commit is contained in:
Alexey Kudravtsev
2017-05-13 11:52:12 +03:00
parent ab5584203a
commit 8eef8ffa17
@@ -79,7 +79,7 @@ public class LowLevelSearchUtil {
@NotNull ProgressIndicator progress,
TreeElement lastElement) {
if (scope instanceof PsiCompiledElement) {
throw new IllegalArgumentException("Scope is compiled, can't scan: "+scope);
throw new IllegalArgumentException("Scope is compiled, can't scan: "+scope+"; containingFile: "+scope.getContainingFile());
}
final int scopeStartOffset = scope.getTextRange().getStartOffset();
final int patternLength = searcher.getPatternLength();