[GHC] #16323: Cannot deduce X error with X provided