diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2018-05-16 12:59:45 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-05-16 12:59:54 -0400 |
commit | 0c7db226012b5cfafc9a38bfe372661672ec8900 (patch) | |
tree | 5bc2e46f8480ee26dfe5fb4657fb8756e5fef5d8 /compiler/codeGen | |
parent | 4ffaf4b67773af4c72d92bb8b6c87b1a7d34ac0f (diff) | |
download | haskell-0c7db226012b5cfafc9a38bfe372661672ec8900.tar.gz |
Fix #15073 by suggesting UnboxedTuples in an error message
Under certain circumstances, `GeneralizedNewtypeDeriving`
can emit code which uses unboxed tuple types, but if `UnboxedTuples`
wasn't enabled, the error message that GHC gave didn't make it very
clear that it could be worked around by explicitly enabling the
extension. Easily fixed.
Test Plan: make test TEST=T15073
Reviewers: bgamari
Reviewed By: bgamari
Subscribers: simonpj, thomie, carter
GHC Trac Issues: #15073
Differential Revision: https://phabricator.haskell.org/D4620
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions