summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-07-26 18:44:03 -0400
committerBen Gamari <ben@smart-cactus.org>2019-07-29 13:58:27 -0400
commit079dc56032d5d16b432aa0c43a7618f234e8c3ae (patch)
tree5a16876938667220ca83bf178f040bbcd8cbecce
parent7668188cf2c4a0ce74abbce48fefacc664575a1f (diff)
downloadhaskell-wip/explode-tycorep.tar.gz
Work around redundant import issuewip/explode-tycorep
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 )