[GHC] #8522: exprType incorrect for let expressions which bind types