Commit d1ef9b6
committed
formula_installer: return nil from recursive_requirements block
The else branch ends with `unsatisfied_reqs[dependent] << req`,
which returns an Array. This violates the block's declared return
type of T.nilable(Symbol). Add an explicit nil return, matching
the same pattern used in language/python.rb.1 parent 7a16cd6 commit d1ef9b6
2 files changed
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2632 | 2632 | | |
2633 | 2633 | | |
2634 | 2634 | | |
2635 | | - | |
2636 | | - | |
2637 | | - | |
| 2635 | + | |
| 2636 | + | |
| 2637 | + | |
2638 | 2638 | | |
2639 | 2639 | | |
2640 | 2640 | | |
| |||
2651 | 2651 | | |
2652 | 2652 | | |
2653 | 2653 | | |
2654 | | - | |
| 2654 | + | |
| 2655 | + | |
2655 | 2656 | | |
2656 | 2657 | | |
2657 | 2658 | | |
2658 | 2659 | | |
2659 | | - | |
2660 | | - | |
2661 | | - | |
| 2660 | + | |
| 2661 | + | |
| 2662 | + | |
2662 | 2663 | | |
2663 | 2664 | | |
2664 | 2665 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
| 739 | + | |
739 | 740 | | |
740 | 741 | | |
741 | 742 | | |
| |||
0 commit comments