Skip to content

[FixCode] Add fix-its for mismatched integer types. #2805

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

Conversation

akyrtzi
Copy link
Contributor

@akyrtzi akyrtzi commented Jun 1, 2016

What's in this pull request?

Adds fixits for:
- Passing an integer with the right type but which is getting wrapped with a different integer type unnecessarily. The fixit removes the cast.
- Passing an integer but expecting different integer type. The fixit adds a wrapping cast.

Resolved bug number: (SR-)

rdar://26570815


Before merging this pull request to apple/swift repository:

  • Test pull request on Swift continuous integration.

Adds fixits for:
 - Passing an integer with the right type but which is getting wrapped with a
   different integer type unnecessarily. The fixit removes the cast.

 - Passing an integer but expecting different integer type. The fixit adds
   a wrapping cast.
@akyrtzi akyrtzi added this to the Swift 3.0 Preview 1 milestone Jun 1, 2016
@tkremenek
Copy link
Member

@swift-ci smoke test os x platform

@tkremenek tkremenek merged commit d80ac27 into swiftlang:swift-3.0-preview-1-branch Jun 1, 2016
@akyrtzi akyrtzi deleted the fixit-mismatched-integer-type-26570815 branch January 8, 2019 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants