summaryrefslogtreecommitdiff
path: root/compiler/backpack
diff options
context:
space:
mode:
authorMatthew Pickering <matthew.pickering@tweag.io>2018-04-20 13:32:30 -0400
committerBen Gamari <ben@smart-cactus.org>2018-04-20 18:04:19 -0400
commit698db813dbc49f6c1e011299e8044b3bafb26847 (patch)
treee306247faf64f7221bebb2b5042d7d85d6212bd4 /compiler/backpack
parent430e6fedfda3e705c6e4c962954c32211a90f9f7 (diff)
downloadhaskell-698db813dbc49f6c1e011299e8044b3bafb26847.tar.gz
Fix implementation of rnIfaceBndr
Reviewers: ezyang, bgamari Reviewed By: bgamari Subscribers: thomie, carter GHC Trac Issues: #15041 Differential Revision: https://phabricator.haskell.org/D4600
Diffstat (limited to 'compiler/backpack')
-rw-r--r--compiler/backpack/RnModIface.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/backpack/RnModIface.hs b/compiler/backpack/RnModIface.hs
index c52fce772d..afdd89e92f 100644
--- a/compiler/backpack/RnModIface.hs
+++ b/compiler/backpack/RnModIface.hs
@@ -619,7 +619,7 @@ rnIfaceBndrs = mapM rnIfaceBndr
rnIfaceBndr :: Rename IfaceBndr
rnIfaceBndr (IfaceIdBndr (fs, ty)) = IfaceIdBndr <$> ((,) fs <$> rnIfaceType ty)
-rnIfaceBndr (IfaceTvBndr tv_bndr) = IfaceIdBndr <$> rnIfaceTvBndr tv_bndr
+rnIfaceBndr (IfaceTvBndr tv_bndr) = IfaceTvBndr <$> rnIfaceTvBndr tv_bndr
rnIfaceTvBndr :: Rename IfaceTvBndr
rnIfaceTvBndr (fs, kind) = (,) fs <$> rnIfaceType kind