Unhandled SIL instruction when borrowing parameter packs #77456
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
When trying to borrow parameter pack arguments to a function the compiler emits an error
Unhandled SIL Instruction: %17 = pack_element_get %14 of %0 : $*Pack{repeat each Content} as $*@pack_element("3E6B6F3A-9D37-11EF-A5CC-8E64AD80DB88") each Content // user: %19
and then:
Reproduction
Expected behavior
I'm assuming each parameter should be borrowed
Environment
Apple Swift version 6.0.2 (swift-6.0.2-RELEASE)
Target: arm64-apple-macosx15.0
Additional information
No response
The text was updated successfully, but these errors were encountered: