diff options
author | RyanGlScott <ryan.gl.scott@gmail.com> | 2015-10-03 20:06:48 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-10-03 20:36:34 +0200 |
commit | 2f74be9c8af1e167b21df1a27b96b6626cd446a9 (patch) | |
tree | b993d2b8c2efdc00081f6243bc744fd0d2ad3bae /testsuite/tests/generics/GenCanDoRep1.hs | |
parent | 0eb8fcd94b29ee9997b386e64203037bdf2aaa04 (diff) | |
download | haskell-2f74be9c8af1e167b21df1a27b96b6626cd446a9.tar.gz |
Fill in associated type defaults with DeriveAnyClass
Summary:
Unlike `-XDefaultSignatures`, `-XDeriveAnyClass` would not fill in
associated type family defaults when deriving a class which contained
them.
In order to fix this properly, `tcATDefault` needed to be used from
`TcGenDeriv`. To avoid a module import cycle, `tcATDefault` was moved
from `TcInstDcls` to `TcClsDcl`.
Fixes #10361.
Test Plan: ./validate
Reviewers: kosmikus, dreixel, bgamari, austin, simonpj
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1283
GHC Trac Issues: #10361
Diffstat (limited to 'testsuite/tests/generics/GenCanDoRep1.hs')
0 files changed, 0 insertions, 0 deletions