mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If we have a rewrite rule of the form
X.[P:A] => X.[Q:A]
We introduce a pair of rules
X.[P:A] => X.[P&Q:A]
X.[Q:A] => X.[P&Q:A]
But in reality only the second one is necessary. The first one is redundant
because you obtain the same result by applying the original rule followed by
the second rule.
8.7 KiB
8.7 KiB