diff options
author | Sebastian Graf <sgraf1337@gmail.com> | 2019-09-17 15:29:30 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-09-19 09:05:20 -0400 |
commit | baf47661426e6f60c5fbfd2fb29cb446aa007576 (patch) | |
tree | 6c8550b864d93692fc5b27535c1dd04c09b923e8 /compiler/deSugar/DsMonad.hs | |
parent | 912afaf49e86501657468f32c1fd20961f98a6d1 (diff) | |
download | haskell-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/deSugar/DsMonad.hs')
-rw-r--r-- | compiler/deSugar/DsMonad.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/deSugar/DsMonad.hs b/compiler/deSugar/DsMonad.hs index d937b3b134..1bfa25324a 100644 --- a/compiler/deSugar/DsMonad.hs +++ b/compiler/deSugar/DsMonad.hs @@ -70,7 +70,7 @@ import BasicTypes ( Origin ) import DataCon import ConLike import TyCon -import {-# SOURCE #-} PmOracle +import PmTypes import Id import Module import Outputable |