Commit e937510
committed
Don't consider marker protocols when mangling associated type refs.
Associated type references can be mangled without reference to the
protocol they are in when there is only one protocol to which the
base type conforms. Because marker protocols can never have associated
types, don't consider them in this computation. This allows marker
protocols to be added more freely to, e.g., generic type requirements.
Fixes rdar://95994469.1 parent db08503 commit e937510
2 files changed
+25
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2925 | 2925 | | |
2926 | 2926 | | |
2927 | 2927 | | |
| 2928 | + | |
| 2929 | + | |
| 2930 | + | |
| 2931 | + | |
| 2932 | + | |
| 2933 | + | |
| 2934 | + | |
| 2935 | + | |
| 2936 | + | |
| 2937 | + | |
| 2938 | + | |
| 2939 | + | |
| 2940 | + | |
| 2941 | + | |
| 2942 | + | |
2928 | 2943 | | |
2929 | 2944 | | |
2930 | 2945 | | |
| |||
2934 | 2949 | | |
2935 | 2950 | | |
2936 | 2951 | | |
2937 | | - | |
| 2952 | + | |
2938 | 2953 | | |
2939 | 2954 | | |
2940 | 2955 | | |
| |||
2970 | 2985 | | |
2971 | 2986 | | |
2972 | 2987 | | |
2973 | | - | |
| 2988 | + | |
| 2989 | + | |
2974 | 2990 | | |
2975 | 2991 | | |
2976 | 2992 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
0 commit comments