Commit Graph

1 Commits

Author SHA1 Message Date
Nikita Eshkeev
827f379576 [java][guarded pattern] IDEA-273957 - Good code red: 'cannot resolve symbol' introduced in instanceof pattern
IDEA didn't use to consider that there might be instanceof patterns in the guard expression, so it ignored this part during resolution. Now IDEA tries to resolve a reference against both the pattern variable and guarding expression.

GitOrigin-RevId: 249ce6ec8ec6db84f9a5fc4622b4433550b38bf4
2021-07-28 12:11:57 +00:00