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

Refactoring action to convert try statement to do-catch and vice-versa

    XMLWordPrintable

    Details

      Description

      Implement action to change code from:

        try! doit()
      

      to

        do {
          try doit()
        } catch {
          <#code#>
        }
      

      also vice-versa

        Attachments

          Activity

            People

            Assignee:
            kacperh KacperHarasim
            Reporter:
            akyrtzi Argyrios Kyrtzidis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: