diff options
author | Vladislav Zavialov <vlad.z.4096@gmail.com> | 2019-06-28 21:01:39 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-07-04 21:23:10 -0400 |
commit | 679427f878e50ba5a9981bac4c2f9c76f4de3c3c (patch) | |
tree | 377567870a7988c2cade9a8cb31f68bbcda64014 /compiler/codeGen | |
parent | 675d27fc241cafbdf666f421e9c2aa2c2625bc40 (diff) | |
download | haskell-679427f878e50ba5a9981bac4c2f9c76f4de3c3c.tar.gz |
Produce all DerivInfo in tcTyAndClassDecls
Before this refactoring:
* DerivInfo for data family instances was returned from tcTyAndClassDecls
* DerivInfo for data declarations was generated with mkDerivInfos and added at a
later stage of the pipeline in tcInstDeclsDeriv
After this refactoring:
* DerivInfo for both data family instances and data declarations is returned from
tcTyAndClassDecls in a single list.
This uniform treatment results in a more convenient arrangement to fix #16731.
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions