[SR-8028] Protocol with where class constraint fails to compile, but same extension succeeds #50561
Labels
associated type inference
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
conformances
Feature → protocol: protocol conformances
Self in protocol
Feature → types: The 'Self' type in protocols
swift 5.10
type checker
Area → compiler: Semantic analysis
unexpected error
Bug: Unexpected error
Additional Detail from JIRA
md5: c93b6bd151a70d62522f417b2869296d
cloned to:
is duplicated by:
Issue Description:
Apologies if the sample a little noisy, tried cleaning it up as much as could in available time. The following fails to build, but replaced with commented lines does compile. Intentional? Why?
The text was updated successfully, but these errors were encountered: