mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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. Let's dilute the meaning of `isImplicit` in the availability walkers to account for this desugaring. rdar://74484150
8.1 KiB
8.1 KiB