Commit d4c7164
committed
Sema: Avoid another cycle with generic signatures
We can determine the associated types referenced from a function signature
by canonicalizing the individual parameter and result types, rather than
first canonicalizing the entire function type. Canonicalizing a function
type creates a GenericSignatureBuilder, which can cause cycles.
This fixes some cycles when the requirement machine is enabled.1 parent ead8fd1 commit d4c7164
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2684 | 2684 | | |
2685 | 2685 | | |
2686 | 2686 | | |
2687 | | - | |
| 2687 | + | |
| 2688 | + | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
| 2692 | + | |
| 2693 | + | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
2688 | 2699 | | |
2689 | 2700 | | |
2690 | 2701 | | |
| |||
0 commit comments