swift
2f2249ce - RequirementMachine: Fix various RewriteSteps to work when re-contextualized

Commit
3 years ago
RequirementMachine: Fix various RewriteSteps to work when re-contextualized When a rewrite rule is replaced with a path containing ::Adjust, ::Decompose, ::ConcreteConformance or ::SuperclassConformance rewrite steps, the steps will get a non-zero EndOffset if the original rule appears in a step with a non-zero EndOffset. For this reason, these steps must work with a non-zero EndOffset, which primarily means computing correct offsets into the term being manipulated.
Author
Committer
Parents
Loading