mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If you have a same-type requirement like 'Self.Foo == Self' inside a protocol P, we add a rewrite rule: [P].Foo => [P] Simplification turns this into [P:Foo] => [P] Previously, the order was backwards so we would end up with [P] => [P:Foo] Which would mess up the conformance information in the equivalence class map.
29 KiB
29 KiB