Uploaded image for project: 'Swift'
  1. Swift
  2. SR-5739

Refactoring action to collapse nested if statement

    XMLWordPrintable

    Details

      Description

      Implement action to change code from:

        if a > 2 {
          if a < 10 {}
        }
      

      to

        if a > 2 && a < 10 {}
      

      The action could also apply for if-let statements.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              akyrtzi Argyrios Kyrtzidis
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: