While this seems obvious in this example, once you introduce conditionals / multiple tail positions, and primitives, it becomes quite a bit more complicated. With multiple tail positions, it's pretty common for the answer to really be multiple answers - presumably you would need to then find a common supertype or omit in that case.
Also, because type hints are primarily useful for Java interop, the cases where you actually need the return type hint are relatively small (many programs may have no cases of it).
At the current time, the effort involved to produce something of limited use is probably not worth it, but maybe something to look at in the future.