Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-1020] Fix-it Delete “var” doesn't delete space before parameter name #43632

Closed
swift-ci opened this issue Mar 22, 2016 · 1 comment
Closed
Labels
compiler The Swift compiler in itself diagnostics QoI Bug: Diagnostics Quality of Implementation good first issue Good for newcomers improvement

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-1020
Radar None
Original Reporter kkoval (JIRA User)
Type Improvement
Status Closed
Resolution Done

Attachment: Download

Environment

Xcode 7.3, Swift-2.2 release version

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Improvement, DiagnosticsQoI, StarterBug
Assignee manav (JIRA)
Priority Medium

md5: df251a31352d5b221e57ded9acda8779

Issue 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 "

@swift-ci
Copy link
Collaborator Author

Comment by Manav Gabhawala (JIRA)

Should be fixed with #1812

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler The Swift compiler in itself diagnostics QoI Bug: Diagnostics Quality of Implementation good first issue Good for newcomers improvement
Projects
None yet
Development

No branches or pull requests

1 participant