-   Notifications  
You must be signed in to change notification settings  - Fork 10.6k
 
Open
Labels
associatedtypeFeature → declarations → protocol: `associatedtype` declarationsFeature → declarations → protocol: `associatedtype` declarationsbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfconformancesFeature → protocol: protocol conformancesFeature → protocol: protocol conformancesextensionFeature → declarations: `extension` declarationsFeature → declarations: `extension` declarationsregressionswift 6.0type checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysisunexpected errorBug: Unexpected errorBug: Unexpected error
Description
Description
No response
Reproduction
protocol P { associatedtype A } protocol Q: P where A == Void {} struct S {} extension S: Q {} extension S: P {}Expected behavior
Successful compilation
Environment
Swift version 6.0-dev (LLVM c7c87ee42989d4b, Swift 8493312)
 Target: x86_64-apple-macosx14.0
Additional information
No response
Metadata
Metadata
Assignees
Labels
associatedtypeFeature → declarations → protocol: `associatedtype` declarationsFeature → declarations → protocol: `associatedtype` declarationsbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfconformancesFeature → protocol: protocol conformancesFeature → protocol: protocol conformancesextensionFeature → declarations: `extension` declarationsFeature → declarations: `extension` declarationsregressionswift 6.0type checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysisunexpected errorBug: Unexpected errorBug: Unexpected error