mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The lookupDirect means that we can see type declarations nested inside of a protocol. If we do not filter these invalid declarations, we will offer a bogus fixit on top of a cycle diagnostic. Remove these types from consideration entirely so we don't crash and don't offer bogus fixits. Resolves rdar://57003317
186 B
186 B