Skip to content

Ban IUOs in more places. #12746

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

Merged
merged 1 commit into from
Nov 4, 2017
Merged

Ban IUOs in more places. #12746

merged 1 commit into from
Nov 4, 2017

Conversation

rudkx
Copy link
Contributor

@rudkx rudkx commented Nov 3, 2017

We were allowing them in tuples in some contexts, but shouldn't have.

Also added tests for function types to ensure we're not allowing them there.

@rudkx
Copy link
Contributor Author

rudkx commented Nov 3, 2017

@swift-ci Please smoke test

@shahmishal
Copy link
Member

@swift-ci clean smoke test

@shahmishal
Copy link
Member

@swift-ci smoke test macOS

We were allowing them in parens in some contexts, but shouldn't have.

Also added tests for function types and tuple return types to ensure
we're not allowing them in these places.
@rudkx
Copy link
Contributor Author

rudkx commented Nov 4, 2017

@swift-ci Please smoke test

@rudkx rudkx merged commit 6062204 into swiftlang:master Nov 4, 2017
@rudkx rudkx deleted the ban-iuo-in-tuple branch November 4, 2017 03:58
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