[SR-9501] Subclass existential with predefined associated type witness should be supported as existential #51955
Labels
compiler
The Swift compiler in itself
duplicate
Resolution: Duplicates another issue
existentials
Feature: values of types like `any Collection`, `Any` and `AnyObject`; type-erased values
feature
A feature request or implementation
improvement
swift evolution implemented
Flag → feature: A feature that was approved through the Swift evolution process and implemented
type checker
Area → compiler: Semantic analysis
Environment
Xcode 10.1 (10B61) & master
Additional Detail from JIRA
md5: 075e0f26634a1fe1f91a9305b41c2dac
duplicates:
Issue Description:
This is a variation of SR-4758 that I believe should be faced separately. Here, the associated type is known to be concrete through a type alias in the class component of a subclass existential (rather than through
where
clauses on protocol declarations that directly constraint an assoc. type).The text was updated successfully, but these errors were encountered: