[Git][ghc/ghc][master] tag inference: don't confuse functions with their return values