Skip to content
Snippets Groups Projects
Commit ab3d7921 authored by Patrick's avatar Patrick
Browse files

Fix ghcide patch: TH bytescode not found

parent e87e0bbb
No related branches found
Tags wip/bdescr/baseline
1 merge request!405Resolve "Ghcide patch fail to compile TH code for 9.12.2"
Pipeline #109072 canceled
Pipeline: head.hackage

#109073

    ......@@ -134,7 +134,7 @@ index af1c97a..7f87a7c 100644
    +#if MIN_VERSION_ghc(9,12,0)
    + {- load it -}
    + ; bco_time <- getCurrentTime
    + ; (fv_hvs, lbss, pkgs) <- loadDecls (hscInterp hsc_env) hsc_env srcspan $
    + ; (fv_hvs, lbss, pkgs) <- loadDecls (hscInterp hsc_env') hsc_env' srcspan $
    + Linkable bco_time (icInteractiveModule ictxt) $ NE.singleton $ BCOs bcos
    + ; let hval = ((expectJust "hscCompileCoreExpr'" $ lookup (idName binding_id) fv_hvs), lbss, pkgs)
    +#elif MIN_VERSION_ghc(9,3,0)
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment