summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/all.T
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2018-07-05 08:49:50 -0400
committerRyan Scott <ryan.gl.scott@gmail.com>2018-07-05 09:47:58 -0400
commit927518668111584a06f12bd9eb1b0910a38acf4f (patch)
treecb99d43b23b489f684bfa8dbd1b0d1422961f0f8 /testsuite/tests/ghci/scripts/all.T
parent132273f34e394bf7e900d0c15e01e91edd711890 (diff)
downloadhaskell-927518668111584a06f12bd9eb1b0910a38acf4f.tar.gz
Fix newtype instance GADTs
Summary: This was taken from Richard's branch, which in turn was submitted to Phab by Matthew, which in turn was commandeered by Ryan. This fixes an issue with newtype instances in which too many coercions were being applied in the worker. This fixes the issue by removing the data family instance axiom from the worker and moving to the wrapper. Moreover, we now require all newtype instances to have wrappers, for symmetry with data instances. Reviewers: goldfire, bgamari, simonpj, mpickering Reviewed By: mpickering Subscribers: simonpj, rwbarton, thomie, carter GHC Trac Issues: #15318 Differential Revision: https://phabricator.haskell.org/D4902
Diffstat (limited to 'testsuite/tests/ghci/scripts/all.T')
0 files changed, 0 insertions, 0 deletions