Files
swift-mirror/test/Sema/availability.swift
Robert Widmann 44e3db8979 Fix a Family of Crashers in Availability Checking
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
2021-02-22 21:21:26 -08:00

8.1 KiB