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-04-29 15:32:14 +03:00
committed by intellij-monorepo-bot
parent 338ad6db56
commit 2d9369d983
1065 changed files with 13224 additions and 11325 deletions

View File

@@ -0,0 +1,14 @@
interface A {
void enableInspections(B... providers);
void enableInspections(Runnable r, String... inspections);
}
interface B {
Class[] get();
}
class C {
void foo(A a) {
a.enableInspections(() -> new Class[]{});
}
}