Skip to content

Wrong indentation of the break in switch #1366

Closed

Description

@Krizai

The issue is mentioned in the #663, so extracting it to the separate one.

Break positioned outside of the brackets in the switch case, indented aligning to the end of the case line, not to the beginning of it.
In:

@implementation UCTestClass

- (void) test{

    switch (test) {
      case "longlonglonglong":{
          i = 1;
      }
      break;
    }
}

@end

Actual out:

@implementation UCTestClass

- (void)test
{
    switch (test) {
        case "longlonglonglong": {
            i = 1;
        }
                                 break;
    }
}

@end

Activity

  1. added 2 commits that reference this issue on Oct 3, 2017
    c4b03e7
    4036bf6
  2. added a commit that references this issue on Oct 9, 2017
    9ced1ed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions