diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2017-07-03 16:54:14 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-07-03 18:58:11 -0400 |
commit | c3a78623cf7bb74c8ca0749f1216e802aa37a721 (patch) | |
tree | 5ab11d296782897063263d491514f517c5a4c66e /compiler/main/GhcMake.hs | |
parent | f9c6d53fe997f1c560cda6f346f4b201711df37c (diff) | |
download | haskell-c3a78623cf7bb74c8ca0749f1216e802aa37a721.tar.gz |
Fix #13311 by using tcSplitNestedSigmaTys in the right place
Previously, we we only using `tcSplitSigmaTy` when determining if a
function had been applied to too few arguments, so it wouldn't work for
functions with nested `forall`s. Thankfully, this is easily fixed with a
dash of `tcSplitNestedSigmaTys`.
Test Plan: make test TEST=T13311
Reviewers: austin, bgamari, simonpj
Reviewed By: bgamari
Subscribers: goldfire, simonpj, rwbarton, thomie
GHC Trac Issues: #13311
Differential Revision: https://phabricator.haskell.org/D3678
Diffstat (limited to 'compiler/main/GhcMake.hs')
0 files changed, 0 insertions, 0 deletions