[GHC] #8463: Inferred types problem