Skip to content

Conversation

@rudkx
Copy link
Contributor

@rudkx rudkx commented Jul 12, 2018

We still had unavailable versions of these for floating-point types
only. We shouldn't need to keep these around, and can instead just
emit a helpful diagnostic for anyone that attempts to use them.

Unfortunately I don't see any way for the diagnostic to produce an
actual fix-it, so it just suggests '+= 1' or '-= 1' without actually
producing a fix.

We still had unavailable versions of these for floating-point types
only. We shouldn't need to keep these around, and can instead just
emit a helpful diagnostic for anyone that attempts to use them.

Unfortunately I don't see any way for the diagnostic to produce an
actual fix-it, so it just suggests '+= 1' or '-= 1' without actually
producing a fix.
@rudkx rudkx requested a review from moiseev July 12, 2018 22:47
@rudkx
Copy link
Contributor Author

rudkx commented Jul 12, 2018

@swift-ci Please smoke test

@rudkx
Copy link
Contributor Author

rudkx commented Jul 12, 2018

@swift-ci Please test source compatibility

Copy link
Contributor

@moiseev moiseev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@rudkx
Copy link
Contributor Author

rudkx commented Jul 13, 2018

swiftlang/swift-corelibs-foundation#1632

@swift-ci Please smoke test Linux platform

@rudkx rudkx merged commit 51f8c93 into swiftlang:master Jul 14, 2018
@rudkx rudkx deleted the remove-inc-dec-operators branch July 14, 2018 23:28
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