I pitched the feature you’re looking for a little over a year ago: [Pitch] Generalized supertype constraints. Maybe after Swift 5 ships there is a chance of someone working on an implementation. We’ll have to wait and see...
4 Likes