[SR-3849] Combined class and protocol constraints aren't propagated correctly #46434
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Environment
Xcode 8.2.1
Additional Detail from JIRA
md5: 8100285ab48c0c97e0d3c3418171fe8c
relates to:
Issue Description:
There is strange generic behaviour:
But if I write
it works fine.
Also the similar problem with this code:
The text was updated successfully, but these errors were encountered: