mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I couldn't come up with an isolated test-case to add to the suite, but it's possible that `getProtocol` returns `nullptr` for invalid or missing protocol so there has to be a check for that otherwise compiler is going to crash trying to access `getDeclaredType()`. Resolves: rdar://76187450
450 KiB
450 KiB