summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-07-26 18:44:03 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-07-31 04:27:59 -0400
commit787fab43e06456e6889a47764d7bd8c5d81ab5cb (patch)
tree9547340aaf49483b5992dc90765de669f24e6dea
parent88410e779db119f9e020567545b6749555ec2af4 (diff)
downloadhaskell-787fab43e06456e6889a47764d7bd8c5d81ab5cb.tar.gz
Work around redundant import issue
As mentioned in #16997, GHC currently complains about this import. In general I'm reluctant to paper over things like this but in the case of an hs-boot file I think adding an import list is the right thing to do regardless of the bug.
-rw-r--r--compiler/iface/ToIface.hs-boot2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/iface/ToIface.hs-boot b/compiler/iface/ToIface.hs-boot
index 6e2fc66ee6..38b6dbcd15 100644
--- a/compiler/iface/ToIface.hs-boot
+++ b/compiler/iface/ToIface.hs-boot
@@ -1,6 +1,6 @@
module ToIface where
-import {-# SOURCE #-} TyCoRep
+import {-# SOURCE #-} TyCoRep ( Type, TyLit, Coercion )
import {-# SOURCE #-} IfaceType( IfaceType, IfaceTyCon, IfaceForAllBndr
, IfaceCoercion, IfaceTyLit, IfaceAppArgs )
import Var ( TyCoVarBinder )