Commit 8af954d2 authored by Sylvain Henry's avatar Sylvain Henry Committed by Marge Bot

Make ghc-boot reexport modules from ghc-boot-th

Packages don't have to import both ghc-boot and ghc-boot-th. It makes
the dependency graph easier to understand and to refactor.
parent b695e7d7
Pipeline #24787 failed with stages
in 235 minutes and 10 seconds
......@@ -72,7 +72,6 @@ Library
transformers == 0.5.*,
exceptions == 0.10.*,
ghc-boot == @ProjectVersionMunged@,
ghc-boot-th == @ProjectVersionMunged@,
ghc-heap == @ProjectVersionMunged@,
ghci == @ProjectVersionMunged@
......
......@@ -49,6 +49,14 @@ Library
GHC.UniqueSubdir
GHC.Version
-- reexport modules from ghc-boot-th so that packages don't have to import
-- both ghc-boot and ghc-boot-th. It makes the dependency graph easier to
-- understand and to refactor.
reexported-modules:
GHC.LanguageExtensions.Type
, GHC.ForeignSrcLang.Type
, GHC.Lexeme
-- but done by Hadrian
-- autogen-modules:
-- GHC.Version
......
......@@ -79,7 +79,6 @@ library
deepseq == 1.4.*,
filepath == 1.4.*,
ghc-boot == @ProjectVersionMunged@,
ghc-boot-th == @ProjectVersionMunged@,
ghc-heap == @ProjectVersionMunged@,
template-haskell == 2.17.*,
transformers == 0.5.*
......
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