[swift-evolution] Enhanced existential types proposal discussion

Jan E. Schotsman jeschot at xs4all.nl
Thu May 26 09:54:53 CDT 2016


In the "where clause" section, shouldn't this be allowed:

let a : Any<Collection, SetAlgebraType where Collection.Element ==  
SetAlgebraType.Element>

I am asking because the acceptable type equality constraint is stated  
as:

Type equality constraint: X == ConcreteType

Jan E.


More information about the swift-evolution mailing list