Split up tyThingToIfaceDecl from GHC.Iface.Make
This commit moves tyThingToIfaceDecl and coAxiomToIfaceDecl from GHC.Iface.Make into GHC.Iface.Decl. This avoids GHC.Types.TyThing.Ppr, which needs tyThingToIfaceDecl, transitively depending on e.g. GHC.Iface.Load and GHC.Tc.Utils.Monad.
Showing
- compiler/GHC/Iface/Decl.hs 334 additions, 0 deletionscompiler/GHC/Iface/Decl.hs
- compiler/GHC/Iface/Make.hs 63 additions, 358 deletionscompiler/GHC/Iface/Make.hs
- compiler/GHC/Tc/Module.hs 3 additions, 3 deletionscompiler/GHC/Tc/Module.hs
- compiler/GHC/Types/TyThing/Ppr.hs 1 addition, 1 deletioncompiler/GHC/Types/TyThing/Ppr.hs
- compiler/ghc.cabal.in 1 addition, 0 deletionscompiler/ghc.cabal.in
- testsuite/tests/count-deps/CountDepsAst.stdout 1 addition, 0 deletionstestsuite/tests/count-deps/CountDepsAst.stdout
- testsuite/tests/count-deps/CountDepsParser.stdout 1 addition, 0 deletionstestsuite/tests/count-deps/CountDepsParser.stdout
Loading
Please register or sign in to comment