# Allow protocols with sufficient same-type constraints to be used as a regular type

**URL:** <https://forums.swift.org/t/allow-protocols-with-sufficient-same-type-constraints-to-be-used-as-a-regular-type/45456>\
**Category:** Discussion\
**Tags:** generics, protocols, associatedtype, type-erasure, type-inference\
**Created:** [March 8, 2021, 10:31pm UTC](https://forums.swift.org/t/allow-protocols-with-sufficient-same-type-constraints-to-be-used-as-a-regular-type/45456 "2021-03-08T22:31:11Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![xwu](https://avatars.discourse-cdn.com/v4/letter/x/b487fb/32.png) [@xwu](https://forums.swift.org/u/xwu)\
**Post date:** [March 8, 2021, 11:03pm UTC](https://forums.swift.org/t/allow-protocols-with-sufficient-same-type-constraints-to-be-used-as-a-regular-type/45456/3 "2021-03-08T23:03:04Z")

</div>

This has been discussed multiple times before. An implementation and proposal are already in progress:

> [@Why can't protocol which inherits from PAT but constrains its associated types be used as existential?](https://forums.swift.org/t/why-cant-protocol-which-inherits-from-pat-but-constrains-its-associated-types-be-used-as-existential/39051/11):
>
> Hi guys (@filip-sakel, @anthonylatsis), I just wanted to poke you both with regard to this feature because it came up again in my work just now, and I'll breath such a sigh of relief when this feature is eventually deployed. I myself am totally swamped with coding items on my todo list so I understand entirely that you guys may not have the time, but I just want to express the gratitude that I'll have if you do end up implementing it!

---

_[View the full topic](https://forums.swift.org/t/allow-protocols-with-sufficient-same-type-constraints-to-be-used-as-a-regular-type/45456)._
