Skip to content

Conversation

@rudkx
Copy link
Contributor

@rudkx rudkx commented Dec 4, 2017

Instead, just emit a deprecation warning and suggest switching to Optionals.

The old behavior caused several projects to break, so before we change
the behavior here we need to investigate whether we can mitigate most
of those breaks.

rdar://problem/35831769

@rudkx rudkx requested a review from DougGregor December 4, 2017 22:59
@rudkx
Copy link
Contributor Author

rudkx commented Dec 4, 2017

@swift-ci Please smoke test

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

Instead, just emit a deprecation warning and suggest switching to Optionals.

The old behavior caused several projects to break, so before we change
the behavior here we need to investigate whether we can mitigate most
of those breaks.
@rudkx
Copy link
Contributor Author

rudkx commented Dec 5, 2017

I missed updating one migrator test file.

@rudkx
Copy link
Contributor Author

rudkx commented Dec 5, 2017

@swift-ci Please smoke test

@shahmishal shahmishal merged commit 1006a6e into swiftlang:master Dec 5, 2017
@rudkx rudkx deleted the do-not-decay-iuo-to-optional branch December 5, 2017 03:45
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.

3 participants