Commit f012a53
authored
Narrow unions containing Any in and_conditional_map (#21231)
Fixes #21225
I expanded it out from comprehensions to try to make it a little
clearer. The heuristics do make sense, but would be good to explore
biting the bullet and just doing the principled thing of use_meet=True1 parent 0eb7292 commit f012a53
2 files changed
Lines changed: 39 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8635 | 8635 | | |
8636 | 8636 | | |
8637 | 8637 | | |
8638 | | - | |
8639 | | - | |
8640 | 8638 | | |
8641 | | - | |
8642 | | - | |
8643 | | - | |
8644 | | - | |
8645 | | - | |
8646 | | - | |
8647 | | - | |
8648 | | - | |
8649 | | - | |
8650 | | - | |
8651 | | - | |
| 8639 | + | |
| 8640 | + | |
| 8641 | + | |
| 8642 | + | |
| 8643 | + | |
| 8644 | + | |
| 8645 | + | |
| 8646 | + | |
| 8647 | + | |
| 8648 | + | |
| 8649 | + | |
| 8650 | + | |
| 8651 | + | |
| 8652 | + | |
| 8653 | + | |
| 8654 | + | |
| 8655 | + | |
| 8656 | + | |
| 8657 | + | |
| 8658 | + | |
| 8659 | + | |
| 8660 | + | |
| 8661 | + | |
| 8662 | + | |
8652 | 8663 | | |
8653 | 8664 | | |
8654 | 8665 | | |
8655 | 8666 | | |
8656 | | - | |
8657 | | - | |
8658 | | - | |
8659 | | - | |
| 8667 | + | |
| 8668 | + | |
| 8669 | + | |
| 8670 | + | |
8660 | 8671 | | |
8661 | 8672 | | |
8662 | 8673 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2319 | 2319 | | |
2320 | 2320 | | |
2321 | 2321 | | |
| 2322 | + | |
| 2323 | + | |
| 2324 | + | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
| 2331 | + | |
| 2332 | + | |
2322 | 2333 | | |
2323 | 2334 | | |
2324 | 2335 | | |
| |||
0 commit comments