Closed
Description
From @leafpetersen
A minor annoyance that comes up now and then is that we don't do upwards inference to infer the return type of block-bodied closure literals. I don't think doing so would be too difficult - we could just keep track of the LUB of the static type of all of the returned values when we visit a function body.