mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
`partial_apply` can be rewritten to `thin_to_thick_function` only if the
specialized callee is `@convention(thin)`.
This condition is newly exercised by the differentiation transform:
`{JVP,VJP}Emitter::visitApplyInst` generates argument-less `partial_apply`
with `@convention(method)` callees.
Resolves SR-12732.
1.3 KiB
1.3 KiB