Commit ded97ba
committed
[CS] Handle packs in
Missed this in my original patch, handle pack parameters the same as
regular generic parameters, ensuring we don't prefer a pack overload
over a generic overload just because there are pointer conversions
involved. Note this doesn't fix the wider issue of rdar://122011759,
I'm planning on looking into that in a follow-up.increaseScoreForGenericParamPointerConversion
1 parent 1066c82 commit ded97ba
File tree
2 files changed
+44
-1
lines changed- lib/Sema
- test/Constraints
2 files changed
+44
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15421 | 15421 | | |
15422 | 15422 | | |
15423 | 15423 | | |
15424 | | - | |
| 15424 | + | |
| 15425 | + | |
| 15426 | + | |
| 15427 | + | |
| 15428 | + | |
| 15429 | + | |
| 15430 | + | |
| 15431 | + | |
| 15432 | + | |
| 15433 | + | |
| 15434 | + | |
| 15435 | + | |
| 15436 | + | |
| 15437 | + | |
| 15438 | + | |
| 15439 | + | |
| 15440 | + | |
15425 | 15441 | | |
15426 | 15442 | | |
15427 | 15443 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
0 commit comments