[GHC] #9250: let makes function too much specific