No, using P.Type
as a conformance constraint in a generic signature does not fall out of being able to use it with any
. Conceptually it might make sense, but today, existential types are not modeled in the implementation with generic signatures (they should be, because that would also allow for other constraints on existential types, e.g. any Collection<Int>
, but that will require generalization of their representation in the type system).
1 Like