summaryrefslogtreecommitdiff
path: root/compiler/GHC/Tc/Gen/Annotation.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Tc/Gen/Annotation.hs')
-rw-r--r--compiler/GHC/Tc/Gen/Annotation.hs15
1 files changed, 10 insertions, 5 deletions
diff --git a/compiler/GHC/Tc/Gen/Annotation.hs b/compiler/GHC/Tc/Gen/Annotation.hs
index 6e9c7ac5ed..90a703b6b5 100644
--- a/compiler/GHC/Tc/Gen/Annotation.hs
+++ b/compiler/GHC/Tc/Gen/Annotation.hs
@@ -12,18 +12,23 @@ module GHC.Tc.Gen.Annotation ( tcAnnotations, annCtxt ) where
import GHC.Prelude
+import GHC.Driver.Session
+import GHC.Driver.Env
+
import {-# SOURCE #-} GHC.Tc.Gen.Splice ( runAnnotation )
+import GHC.Tc.Utils.Monad
+
import GHC.Unit.Module
-import GHC.Driver.Session
-import Control.Monad ( when )
import GHC.Hs
+
+import GHC.Utils.Outputable
+
import GHC.Types.Name
import GHC.Types.Annotations
-import GHC.Tc.Utils.Monad
import GHC.Types.SrcLoc
-import GHC.Utils.Outputable
-import GHC.Driver.Types
+
+import Control.Monad ( when )
-- Some platforms don't support the interpreter, and compilation on those
-- platforms shouldn't fail just due to annotations