Don't allow specialisation of class methods (fixes Trac #5001)
It doesn't make sense to specialise class methods -- their code is simply a record selector. Moreover, such methods don't (currently) have an inl_sat field in their InlinePragma which made DsBinds.makeCoreArity bleat. This patch just ignores such pragmas, with a warning.
Showing with 9 additions and 0 deletions