https://bugs.kde.org/show_bug.cgi?id=365437

--- Comment #4 from Piotr Mierzwinski <piotr.mierzwin...@gmail.com> ---
One more example where refactoring breaks code, sorry for so many comments, but
"Renaming declaration" destroyed my code in many places :(.

                if (condition1) {
                        one_line_of_code;

                        if (condition2) {
                                if (! condition3)
                                        one_line_of_code;

//                              one_line_of_code;
                        }
                        else {
                                if (condition4)
                                        one_line_of_code;
                        }
                        }
                        global_renamed_member += member * (condition ? 1 : -1);
                }

Of course curly bracket put above "global_renamed_member" is not necessary and
breaks code.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to