I guess your issue is related to Reconsider the semantics of type aliases in protocol extensions - #17 by anthonylatsis