Skip to content
Snippets Groups Projects
Commit 74de046b authored by Ryan Scott's avatar Ryan Scott
Browse files

ghcide: Update CPP to work with GHC 9.10

parent ca0fdcc1
No related branches found
No related tags found
1 merge request!362CI: Test GHC 9.10, drop GHC 9.4
Pipeline #94232 failed
Pipeline: head.hackage

#94233

    diff --git a/session-loader/Development/IDE/Session.hs b/session-loader/Development/IDE/Session.hs
    index b1bc9d4..8955377 100644
    index b1bc9d4..0a94766 100644
    --- a/session-loader/Development/IDE/Session.hs
    +++ b/session-loader/Development/IDE/Session.hs
    @@ -828,7 +828,11 @@ newComponentCache recorder exts cradlePath _cfp hsc_env old_cis new_cis = do
    ......@@ -9,7 +9,7 @@ index b1bc9d4..8955377 100644
    - let closure_errs = checkHomeUnitsClosed (hsc_unit_env hscEnv') (hsc_all_home_unit_ids hscEnv') pkg_deps
    + let closure_errs =
    + checkHomeUnitsClosed (hsc_unit_env hscEnv')
    +# if !MIN_VERSION_ghc(9,11,0)
    +# if !MIN_VERSION_ghc(9,10,0)
    + (hsc_all_home_unit_ids hscEnv') pkg_deps
    +# endif
    pkg_deps = do
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment