[psi] ensure that cache in PsiExpressionsList#getExpressions is not corrupted during highlighting (IDEA-296766)

safer it would be to return array.clone() but there is a suspicion that it would to too expensive

GitOrigin-RevId: 9fd84fa2c3ff2d1d982d5747ec0f8f22fa220d5c
This commit is contained in:
Anna Kozlova
2022-06-28 13:15:33 +02:00
committed by intellij-monorepo-bot
parent fa3e33f2f1
commit 37e5457c2d
3 changed files with 22 additions and 18 deletions

View File

@@ -0,0 +1,7 @@
interface MyTest {
void foo(boolean withCompletion, boolean withAppointments, Boolean inDelay, String teamIds, String userIds, String ticketIds, String search, Long displayFilterId, Integer pageNumber, Integer pageSize, Object sort);
default void bar() {
foo(true, true, true, null, null, "", null, 1, <caret>null, null, null);
}
}