mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-52322 (diagnostic)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user