summaryrefslogtreecommitdiff
path: root/compiler/main/GhcMake.hs
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2017-07-03 16:54:14 -0400
committerBen Gamari <ben@smart-cactus.org>2017-07-03 18:58:11 -0400
commitc3a78623cf7bb74c8ca0749f1216e802aa37a721 (patch)
tree5ab11d296782897063263d491514f517c5a4c66e /compiler/main/GhcMake.hs
parentf9c6d53fe997f1c560cda6f346f4b201711df37c (diff)
downloadhaskell-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