[GHC] #14828: panic! when using :print on some functions with class constraints?