aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-02-11 23:17:49 +0100
committerDaniel Gröber <dxld@darkboxed.org>2019-02-11 23:17:49 +0100
commit5196a7c382a1a03e2d460c7ca9112424a58cfbd0 (patch)
tree6c8c85875dc8d49d40c57f7e44fb88435339b772 /src/CabalHelper
parent5463f8ccdecbdd23ae47c2a956e906eb6b83a724 (diff)
Some helper compilation test coverage comments
[ci skip]
Diffstat (limited to 'src/CabalHelper')
-rw-r--r--src/CabalHelper/Compiletime/Compile.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CabalHelper/Compiletime/Compile.hs b/src/CabalHelper/Compiletime/Compile.hs
index 88ff51d..f379081 100644
--- a/src/CabalHelper/Compiletime/Compile.hs
+++ b/src/CabalHelper/Compiletime/Compile.hs
@@ -191,6 +191,8 @@ compileHelper' CompHelperEnv {..} = do
-- we're operating on Cabal itself!
compileWithCabalV2Inplace :: Env => GhcVersion -> Version -> MaybeT IO (IO (), Compile)
compileWithCabalV2Inplace ghcVer cabalVer = do
+ -- TODO: Test coverage! Neither compile-test nor ghc-session test out
+ -- this code path
PlanJson {pjUnits} <- maybe mzero pure chePlanJson
distdir_newstyle <- maybe mzero pure cheDistV2
let cabal_pkgid =