passing function result of a parameter pack to a generic function results in false compiler error. #73613
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
Passing a parameter pack function result directly into a generic function that compares it to a parameter with the same type fails to compile.
Reproduction
Expected behavior
Expected to compile.
Environment
Fails on both:
6.0-DEVELOPMENT-SNAPSHOT-2024-04-30-a
Apple Swift version 6.0-dev (LLVM 7b8e6346027d2b1, Swift 763421c)
Target: arm64-apple-macosx14.0
and:
DEVELOPMENT-SNAPSHOT-2024-05-01-a
Apple Swift version 6.0-dev (LLVM b66077aefd3be08, Swift 84d3618)
Target: arm64-apple-macosx14.0
Additional information
No response
The text was updated successfully, but these errors were encountered: