[Regression] Build failure when library distribution is enabled. #79846
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
There is a build failure when compiling code with library distribution enabled.
The build fails on a typealias that is a composition of two protocols where at least one is using a primary associated type.
This is a regression that I first encountered in
Xcode 15.1
. It was working onXcode 14.3
.I've just checked with
Xcode 16.3 beta (16E5104o)
- the same issue.Regardless of the above, all work when library distribution is not set.
Reproduction
Create a Swift package that contains this code:
Then build it with:
and it fails with:
Expected behavior
The build with library distribution enabled should end successfully as the build without that flag.
Environment
Additional information
No response
The text was updated successfully, but these errors were encountered: