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

Fix-it Delete “var” doesn't delete space before parameter name

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Component/s: Compiler
    • Environment:

      Xcode 7.3, Swift-2.2 release version

      Description

      The suggestion from Xcode -> "Fix-it Delete “var”" doesn't delete the "var" but leave en white space. It should delete it as well.

      Example:
      {{ fun doIt(var x: String)

      {...} }}
      After Fix-it Delete “var”
      {{ fun doIt( x: String) {...}

      }}

      It should delete var keyword + whitespace "var "

        Attachments

          Activity

            People

            Assignee:
            manav Manav Gabhawala
            Reporter:
            kkoval Kostiantyn Koval
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: