Commit Graph

4 Commits

Author SHA1 Message Date
Doug Gregor
04ed519520 [Associated type inference] Support @_implements on type witnesses
Extend the longstanding support for `@_implements` on witnesses to also
work on type witnesses, as part of associated type inference. This permits
an associated type witness to have a different name from the associated
type itself.
2024-03-11 12:30:06 -07:00
Anthony Latsis
bb5fb2e364 [NFC] Add a test for @_implements with non-identifier type argument
This also ensures that the new Swift parser can handle it too.
2023-01-26 21:10:39 +03:00
Graydon Hoare
830a35a173 [SR-8081] Prefer @_implements(P,q) over q, when requirement is P.q exactly. 2018-09-21 14:34:26 -07:00
Graydon Hoare
1b3815ecaf Add testcase for @_implements 2017-04-18 11:12:54 -07:00