You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix for Issue #2393 (WrongOneof mishandles new style switch statement) based on PR #2371 and PR #2124.
Fixes#2470
COPYBARA_INTEGRATE_REVIEW=#2470 from openamiguel:master 148cf4d
PiperOrigin-RevId: 390456921
Description of the problem / feature request:
The
WrongOneOf
check also fails with the new arrow-type switch expressions.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
What version of Error Prone are you using?
2.6.0
Have you found anything relevant by searching the web?
Same fix required as #2371 and #2124 here
The text was updated successfully, but these errors were encountered: