Parameter packs cannot return zero or single-element tuples from protocols #79010
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
parameter packs
Feature → generics: Parameter packs
Description
This may be related to #79008.
Reproduction
A pack of multiple values is fine:
But fewer than that is a problem. These crash the compiler:
Expected behavior
All arities are usable.
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
No response
The text was updated successfully, but these errors were encountered: