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
{{ message }}
Repository navigation
MinimumSwitchCases does not redeclare variables in new blocks #687
changed the title [-]MinimumSwitchCases does not redeclare variables in new blocks[/-][+]`MinimumSwitchCases` does not redeclare variables in new blocks[/+]on Aug 5, 2025
Activity
timtebeek commentedon Mar 1, 2023
Interesting case; at first glance I was surprised the first one compiles despite the
breakstatement. Thank you for reporting this issue!Replicated with the following test, which should fit right into MinimumSwitchCasesTest.java
[-]MinimumSwitchCases does not redeclare variables in new blocks[/-][+]`MinimumSwitchCases` does not redeclare variables in new blocks[/+]Fixed the provided failing test
Fixed the provided failing test
Fix switch-related recipe bugs (#6, #9, #14, #687)
Fix switch-related recipe bugs (#6, #9, #14, #687)
Fix switch-related recipe bugs (#6, #9, #14, #687) (#852)