Include the instances of associated types in the "extras" of a class
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 3 Aug 2011 06:46:50 +0000 (07:46 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Wed, 3 Aug 2011 06:46:50 +0000 (07:46 +0100)
commit3bf0520aea5acbecb83dcc0fc722c79ce9f5723c
treebb641aecf9cf263c1ebc30a11625e5d41991bf6f
parent7624efc0652cd8393068ed6613df5d1c01d58044
Include the instances of associated types in the "extras" of a class

This fixes Trac #5147, which was going wrong because
the class ABI fingerprint wasn't changing when we added
or removed a Show instance to the associated type.
compiler/iface/IfaceSyn.lhs
compiler/iface/MkIface.lhs