-
Couldn't load subscription status.
- Fork 110
Open
Labels
Priority: MediumMedium priorityMedium prioritySubsystem: Statement StructureAnything concerning how statements are structured in a methodAnything concerning how statements are structured in a methodType: BugSomething isn't workingSomething isn't working
Description
Vineflower version
master
Describe the bug
Given a simple return switch with the condition being a string and the switch block only containing one case and the required default, it will not properly simplify like a switch-on-string with two cases correctly simplifies. The same thing happens when given a switch that has string cases and returns something.
Additional information
Can be easily replicated following the decompilation output of TestSingleCaseStrSwitch, TestEclipseSwitchString and TestSwitchExprString1.
Metadata
Metadata
Assignees
Labels
Priority: MediumMedium priorityMedium prioritySubsystem: Statement StructureAnything concerning how statements are structured in a methodAnything concerning how statements are structured in a methodType: BugSomething isn't workingSomething isn't working