Commit 54acfbbf authored by Ben Gamari's avatar Ben Gamari Committed by Ryan Scott

base: Add dependency on GHC.Integer in a few boot files

The typechecker started trying to pull in GHC.Integer.Type's interface file
due to the change made in d8d4266b. It's unclear
why the patch in question changed this behavior, but these typechecker-induced
dependencies are known to be a bit fragile and adding these imports ensures
that the build order is correct.

Test Plan: Validate

Reviewers: goldfire, hvr

Subscribers: thomie, carter

GHC Trac Issues: #15004

Differential Revision:
parent 891ffd58
......@@ -4,6 +4,7 @@ module Data.Semigroup.Internal where
import {-# SOURCE #-} GHC.Real (Integral)
import {-# SOURCE #-} GHC.Base (Semigroup,Monoid,Maybe)
import GHC.Integer () -- Note [Depend on GHC.Integer]
stimesIdempotentMonoid :: (Integral b, Monoid a) => b -> a -> a
......@@ -4,6 +4,7 @@
module GHC.IO where
import GHC.Types
import GHC.Integer () -- see Note [Depend upon GHC.Integer] in libraries/base/GHC/Base.hs
failIO :: [Char] -> IO a
mplusIO :: IO a -> IO a -> IO a
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment