Parameter packs cannot return single-element tuples when static and instance method names match. #79008
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
No response
Reproduction
These compile:
This does not:
Renaming one of the functions allows it to compile.
However, this is also a problem with subscripts, where renaming is of course not possible. Replacing the functions with the following will yield identical results.
Expected behavior
Both overloads 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: