"Lift return out" produces invalid code for "else if" #4789
Labels
bug
subsystem::code insight
General label for issues related to code understanding: highlighting, completion, annotation, etc.
Environment
Problem description
"Lift return out of 'if'" intention action (from #4172) may produce an invalid code in case of
else if
construction.Steps to reproduce
Consider
Plugin suggests to lift out return from the second if resulting in
The text was updated successfully, but these errors were encountered: