issues
search
uber
/
piranha
A tool for refactoring code related to feature flag APIs
Apache License 2.0
2.29k
stars
198
forks
source link
Fix empty switch entries and statements
#610
Closed
Adarsh-NP
closed
1 year ago
Adarsh-NP
commented
1 year ago
This PR:
solves the cases where there are empty switch entries post refactoring
Also has a rule to clean empty switch statements left after the aforementioned cleanup. Please refer to tests for more info.
Re-organises tests in post_processing_cleanup that includes delete_statements_after_return and aforementioned switch refactoring.
This PR: