fix duplicate stubs after multi-root file rename

either stubs from all roots should be cleared, or none, but not just one
let's try "none" because we don't clear AST anyway
This commit is contained in:
peter
2018-03-10 21:13:44 +01:00
parent 38afc7d6bb
commit 326c772380
@@ -433,7 +433,6 @@ public abstract class PsiFileImpl extends ElementBase implements PsiFileEx, PsiF
@Override
public PsiElement setName(@NotNull String name) throws IncorrectOperationException {
checkSetName(name);
doClearCaches("setName");
return PsiFileImplUtil.setName(this, name);
}