Commit abac604
committed
AST: Fix SubstitutionMap::getOverrideSubstitutions() for generic protocol requirements
We need a substitution map written in terms of the base requirement's signature;
getProtocolSubstitutions() alone was not enough because it does not include
the extra generic parameters that the base requirement might have if it is
itself generic.1 parent 0b10948 commit abac604
1 file changed
+3
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
523 | 517 | | |
524 | 518 | | |
525 | 519 | | |
| |||
0 commit comments