Commit f24a93a
inference: fix return_type_tfunc modeling of concrete functions (#51042)
The `aft` parameter is a value already, so we should be checking it in
the value domain, not the type domain like `tt`. That check happens to
already be done (somewhat unnecessarily) earlier in the function.
Fixes #40606
---------
Co-authored-by: Shuhei Kadowaki <[email protected]>1 parent ca1a54a commit f24a93a
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2638 | 2638 | | |
2639 | 2639 | | |
2640 | 2640 | | |
2641 | | - | |
2642 | | - | |
2643 | | - | |
2644 | | - | |
2645 | 2641 | | |
2646 | 2642 | | |
2647 | 2643 | | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
| 2649 | + | |
2648 | 2650 | | |
2649 | 2651 | | |
2650 | 2652 | | |
| |||
2677 | 2679 | | |
2678 | 2680 | | |
2679 | 2681 | | |
2680 | | - | |
2681 | | - | |
| 2682 | + | |
2682 | 2683 | | |
2683 | 2684 | | |
2684 | 2685 | | |
| |||
0 commit comments