提交 9e33922b 编写于 作者: D Dmitry Jemerov

better diagnostics

上级 843c1029
......@@ -27,7 +27,7 @@ public class AnalyzingUtils {
@Override
public void visitErrorElement(PsiErrorElement element) {
throw new IllegalArgumentException(element.getErrorDescription());
throw new IllegalArgumentException(element.getErrorDescription() + " at offset " + element.getTextRange().getStartOffset());
}
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册