diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2011-06-13 15:03:38 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2011-06-13 15:03:38 +0100 |
commit | 777b8c4bd6f8a76f2fd365aa43451b7af098e9ef (patch) | |
tree | 7a04537ea04c8513dc4a593728e204f851ed8fbd /compiler/cmm/CmmSpillReload.hs | |
parent | 5c4a4c4bfe2a007f41f42ebab689bcd7219bed0d (diff) | |
download | haskell-777b8c4bd6f8a76f2fd365aa43451b7af098e9ef.tar.gz |
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.
Diffstat (limited to 'compiler/cmm/CmmSpillReload.hs')
0 files changed, 0 insertions, 0 deletions