summaryrefslogtreecommitdiff
path: root/validate
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2016-10-01 17:58:44 -0400
committerBen Gamari <ben@smart-cactus.org>2016-10-01 20:01:29 -0400
commit23cf32da76fe6ed29fa141047749d390df763f94 (patch)
tree76966da97a5f206549161c77b3f7ae1e8cf1ab8e /validate
parentf547b444fdaf1c86abede42bf4c4b1037f50f588 (diff)
downloadhaskell-23cf32da76fe6ed29fa141047749d390df763f94.tar.gz
Disallow standalone deriving declarations involving unboxed tuples or sums
There was an awful leak where GHC permitted standalone `deriving` declarations to create instances for unboxed sum or tuple types. This fortifies the checks that GHC performs to catch this scenario and give an appropriate error message. Fixes #11509. Test Plan: ./validate Reviewers: goldfire, austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2557 GHC Trac Issues: #11509
Diffstat (limited to 'validate')
0 files changed, 0 insertions, 0 deletions