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

            Bug ID: 385472
           Summary: Incorrect indentation in nested 'if' statements
           Product: frameworks-ktexteditor
           Version: 5.38.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: rootl...@mail.ru
  Target Milestone: ---

Hi,

In the following C code the last 'else' is indented incorrectly:

int f()
{
    if (1)
        if (1)
            f();
        else
            f();
        else         <-- Should be one indentation level lower

The same is true for JavaScript (and hence QML):

function f() {
    if (true)
        if (true)
            f();
        else
            f();
        else

Other languages were not tested.

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

Reply via email to