Skip to content

Conversation

@CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Feb 23, 2021

NIO exposed an issue in the new availability walkers where an implicit
check was not being performed. They were able to get this to crash by
using a defer statement - the body of which contains implicit
declarations that got run through the walker. This exposed a wider hole
in availability checking of defer statements. Namely, that it wasn't
happening.

This is a narrow fix (as opposed to the broader fix in
#36102) that is safer to take for
Swift 5.4.

rdar://74484150

NIO exposed an issue in the new availability walkers where an implicit
check was not being performed. They were able to get this to crash by
using a defer statement - the body of which contains implicit
declarations that got run through the walker. This exposed a wider hole
in availability checking of defer statements. Namely, that it wasn't
happening.

This is a narrow fix (as opposed to the broader fix in
swiftlang#36102) that is safer to take for
Swift 5.4.

rdar://74484150
@CodaFi CodaFi requested a review from a team as a code owner February 23, 2021 20:25
@CodaFi
Copy link
Contributor Author

CodaFi commented Feb 23, 2021

@swift-ci test

@CodaFi
Copy link
Contributor Author

CodaFi commented Feb 24, 2021

@CodaFi CodaFi merged commit bb82157 into swiftlang:release/5.4 Feb 24, 2021
@CodaFi CodaFi deleted the ex-tension branch February 24, 2021 00:06
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