Commit c38e7cd
authored
The motivation for this is the same as #54105, where the return types
being filled in by inference can in general be imprecise when running
the compiler with an extended lattice.
Note that this PR is very incomplete.
There are at least 6+ more places in `inlining.jl` where we hard-code
return types that will need similar treatment, but for now this resolves
some downstream bugs from these imprecise types.
1 parent e644ebd commit c38e7cd
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
548 | | - | |
| 548 | + | |
| 549 | + | |
549 | 550 | | |
550 | 551 | | |
551 | 552 | | |
552 | 553 | | |
553 | | - | |
| 554 | + | |
| 555 | + | |
554 | 556 | | |
555 | 557 | | |
556 | 558 | | |
| |||
0 commit comments