Don't allow specialisation of class methods (fixes Trac #5001)
authorSimon Peyton Jones <simonpj@microsoft.com>
Mon, 13 Jun 2011 14:03:38 +0000 (15:03 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Mon, 13 Jun 2011 14:03:38 +0000 (15:03 +0100)
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.


No differences found