mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix `@derivative` attribute type-checking crash, so far reproducible only via `-parse-stdlib`. The crash occurs because it is not sufficient for type-checking to check for `Differentiable` conformances. We must also check for invalid `TangentVector` associated types. Resolves SR-12559.