summaryrefslogtreecommitdiff
path: root/compiler/ghc.cabal.in
diff options
context:
space:
mode:
authorSebastian Graf <sgraf1337@gmail.com>2019-09-17 15:29:30 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-09-19 09:05:20 -0400
commitbaf47661426e6f60c5fbfd2fb29cb446aa007576 (patch)
tree6c8550b864d93692fc5b27535c1dd04c09b923e8 /compiler/ghc.cabal.in
parent912afaf49e86501657468f32c1fd20961f98a6d1 (diff)
downloadhaskell-baf47661426e6f60c5fbfd2fb29cb446aa007576.tar.gz
Extract PmTypes module from PmExpr and PmOracle
Apparently ghc-lib-parser's API blew up because the newly induced cyclic dependency between TcRnTypes and PmOracle pulled in the other half of GHC into the relevant strongly-connected component. This patch arranges it so that PmTypes exposes mostly data type definitions and type class instances to be used within PmOracle, without importing the any of the possibly offending modules DsMonad, TcSimplify and FamInst.
Diffstat (limited to 'compiler/ghc.cabal.in')
-rw-r--r--compiler/ghc.cabal.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index 884006b487..fc5f581a4d 100644
--- a/compiler/ghc.cabal.in
+++ b/compiler/ghc.cabal.in
@@ -334,9 +334,9 @@ Library
CoreStats
MkCore
PprCore
- PmExpr
- PmPpr
PmOracle
+ PmPpr
+ PmTypes
Check
Coverage
Desugar