CPP-16098 - Lags during inplace rename typing

- changed behaviour in safe way by introducing new method to check that particular expression does not depend
  on committed PSI

GitOrigin-RevId: f5ec732613cdafdcef8a1d48eb8d04135c634047
This commit is contained in:
Vladimir Plyashkun
2019-05-03 01:39:50 +03:00
committed by intellij-monorepo-bot
parent 338ad6db56
commit 2d9369d983
1065 changed files with 13223 additions and 11324 deletions
@@ -0,0 +1,17 @@
class Test {
private boolean test(String s) {
if(s != null) {
s = s.trim();
if (s.isEmpty()) {
return true;
}
}
return false;
}
void use(String s) {
if(<caret>test(s+s)) throw new IllegalArgumentException();
System.out.println("woohoo");
}
}