Skip to content

Commit

Permalink
Include all of ModGuts
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Sep 16, 2020
1 parent faa39f8 commit 8ff0a38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overlays/patches/ghc/core-field.patch
Expand Up @@ -362,8 +362,8 @@ index 8e66a67f58..91119af421 100644
+ }
+ = do when (gopt Opt_Write_Phase_Core (hsc_dflags hsc_env)) $
+ registerInterfaceDataWith "ghc/phase/core" hsc_env $ \bh ->
+ -- putWithUserData (const $ return ()) bh (toIfaceModGuts guts)
+ putWithUserData (const $ return ()) bh (map toIfaceBind $ mg_binds guts)
+ putWithUserData (const $ return ()) bh (toIfaceModGuts guts)
+ -- putWithUserData (const $ return ()) bh (map toIfaceBind $ mg_binds guts)
+ ext_fs <- readIORef $ hsc_ext_fields hsc_env
+ return iface{mi_ext_fields = ext_fs}
+ where
Expand Down

0 comments on commit 8ff0a38

Please sign in to comment.