EA-52322 (diagnostic)

This commit is contained in:
Roman Shevchenko
2013-11-27 21:13:53 +01:00
parent 80d5bcb936
commit cd9c425784
@@ -1010,6 +1010,10 @@ public abstract class PsiFileImpl extends ElementBase implements PsiFileEx, PsiF
}
StubElement currentStubTree = ((IStubFileElementType)contentElementType).getBuilder().buildStubTree(this);
if (currentStubTree == null) {
throw new AssertionError("Stub tree wasn't built for " + contentElementType + "; file: " + this);
}
tree = new StubTree((PsiFileStub)currentStubTree);
tree.setDebugInfo("created in calcStubTree");
try {