swift
swift copied to clipboard
[6.1] Emit reabstraction thunks for implicit conversions between T.TangentType and Optional<T>.TangentType
- Explanation: Emit reabstraction thunks for implicit conversions between T.TangentType and Optional<T>.TangentType. Resolves a crash from silgen, producing a diagnostic instead.
- Scope: Affects primarily autodiff code.
- Issues: https://github.com/swiftlang/swift/issues/77871
- Original PRs: https://github.com/swiftlang/swift/pull/78076
- Risk: Low.
- Testing:
Verified the silgen crash still occurs on the latest
release/6.1snapshot, and the correct diagnostic is emitted using the latestmainsnapshot. - Reviewers: @asl @hamishknight @slavapestov
cc @JaapWijnen
@swift-ci Please test
Ping @hamishknight @slavapestov...
Any concerns taking this for 6.1?
Closing since we have an official 6.1 release.