mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Previously we did this when adding new concrete type rules, but we don't have a complete rewrite system at that point yet, so there was no guarantee concrete substitution terms would be canonical. Now, perform simplification in a post-pass after completion, at the same time as simplifying rule right hand sides. Rewrite loops are recorded relating the original rule with the simplified substitutions.
22 KiB
22 KiB