diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2017-07-28 11:35:22 -0400 |
---|---|---|
committer | Ryan Scott <ryan.gl.scott@gmail.com> | 2017-07-28 11:35:22 -0400 |
commit | d6186496d414638aa66a677bb4e555dba376ec97 (patch) | |
tree | 31359c43ad67fbc57dec45f73cf89009f2babb7a /libraries/template-haskell/template-haskell.cabal | |
parent | ad0037ea3ea0eb9e2e693fa10f2171611c4e2217 (diff) | |
download | haskell-d6186496d414638aa66a677bb4e555dba376ec97.tar.gz |
Error eagerly after renaming failures in reifyInstances
Summary:
Previously, if `reifyInstances` failed to discover a `Name` during
renaming, it would blindy charge into typechecking, at which point GHC would
become very confused at the absence of that `Name` and throw an internal error.
A simple workaround is to fail eagerly after renaming errors.
Test Plan: make test TEST=T13837
Reviewers: goldfire, austin, bgamari, simonpj
Reviewed By: simonpj
Subscribers: simonpj, rwbarton, thomie
GHC Trac Issues: #13837
Differential Revision: https://phabricator.haskell.org/D3793
Diffstat (limited to 'libraries/template-haskell/template-haskell.cabal')
0 files changed, 0 insertions, 0 deletions