Parameter pack crash: Can't "untuple" a single parameter pack from a tuple #78671
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
crash
Bug: A crash, i.e., an abnormal termination of software
triage needed
This issue needs more specific labels
Description
It is current impossible to "untuple" a parameter pack from a tuple. Worse, it crashes the compiler.
Reproduction
Stack dump
Expected behavior
I expect the compiler not to crash and the ability to destructure the parameter pack from the tuple.
Environment
swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
Target: arm64-apple-macosx15.0
Additional information
Mentioned here but with no link to existing issue: https://forums.swift.org/t/passing-a-parameter-pack-to-a-function-call-fails-to-compile/72243/2
The text was updated successfully, but these errors were encountered: