Repository navigation
Commit 0221c80
authored
Fix crash when unpacking return value from overload (#21830)
Fixes #21824
Fixes #19920
Closes #19921
Note that ilevkivskyi has a suggestion to change overload inference
here:
#19920 (comment)
While that is right, it is a little separate, and I think it is okay to
remove the crash given that it now affects numpy and has been reported
in other contexts too. We just keep the originally inferred tuple1 parent 5bb72b7 commit 0221c80
2 files changed
Lines changed: 40 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4409 | 4409 | | |
4410 | 4410 | | |
4411 | 4411 | | |
4412 | | - | |
4413 | | - | |
| 4412 | + | |
| 4413 | + | |
| 4414 | + | |
| 4415 | + | |
4414 | 4416 | | |
4415 | 4417 | | |
4416 | 4418 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
429 | 465 | | |
430 | 466 | | |
431 | 467 | | |
| |||
0 commit comments