diff options
author | Alec Theriault <alec.theriault@gmail.com> | 2019-02-01 16:26:43 -0800 |
---|---|---|
committer | Alec Theriault <alec.theriault@gmail.com> | 2019-02-18 07:31:18 -0800 |
commit | 2a431640d199b164ca5d233684d4f4bdaf5ca021 (patch) | |
tree | 409b2a03bbd083dba90d9f7816f57280232b62c2 /libraries/integer-gmp/src | |
parent | 1ffee940a011fc75f40514696a747dd1f3d4f342 (diff) | |
download | haskell-2a431640d199b164ca5d233684d4f4bdaf5ca021.tar.gz |
Uphold AvailTC Invariant for associated data fams
The AvailTC was not be upheld for explicit export module
export lists when the module contains associated data families.
module A (module A) where
class C a where { data T a }
instance C () where { data T () = D }
Used to (incorrectly) report avails as `[C{C, T;}, T{D;}]`. Note that
although `T` is exported, the avail where it is the parent does _not_
list it as its first element. This avail is now correctly listed as
`[C{C, T;}, T{T, D;}]`.
This was induces a [crash in Haddock][0].
See #16077.
[0]: https://github.com/haskell/haddock/issues/979
Diffstat (limited to 'libraries/integer-gmp/src')
0 files changed, 0 insertions, 0 deletions