Closed
Description
After merging #102808 I realized that I've missed several important cases.
Right now substitution algorithm has these lines:
Lines 1477 to 1488 in 2cdc518
It is tested. But, it is never tested for the nested arguments:
Lines 1500 to 1511 in 2cdc518
I think that Callable
is complex and important enought to be covered with as many cases as possible. Furthermore, Callable
can be nested deeply in real types and we need to be sure that this use-case works as intended.
I will send a PR with more tests :)
Related #88965