[SR-1663] Cannot invoke initializers required by protocols on associated types with non-root-class superclass bounds #44272
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
OSX 10.11.5, Xcode 7.3.1
Additional Detail from JIRA
md5: 2373eef28fcb7930939c09060e7ef3c7
is duplicated by:
Issue Description:
With the following setup:
This will compile:
However, this will not:
All that is changed is that the superclass bound on the
V
associated type was changed fromFoo
toBar
. Compile fails with this error:I've also been able to produce an error message in the form of:
The text was updated successfully, but these errors were encountered: