Commit 046edf6
Add unused infer_variance_ignoring_declared method
Summary:
For protocols, we want to check that the inferred variance and compare it to the declared variance.
This is a function that infers variance regardless of the declared variance.
We will only call it on protocols, but this will happen in the solver phase.
Reviewed By: stroxler
Differential Revision: D92893695
fbshipit-source-id: 1745afd55107ee762423689c1bad9711b82b037a1 parent 5cb3bb0 commit 046edf6
1 file changed
+30
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
576 | 606 | | |
577 | 607 | | |
578 | 608 | | |
| |||
0 commit comments