Torsten Schmits pushed to branch wip/torsten.schmits/mercury-ghc910-mhu-transitive-th-deps at Glasgow Haskell Compiler / GHC
Commits:
-
4d6ffa22
by Torsten Schmits at 2025-11-06T16:10:01+01:00
1 changed file:
Changes:
| ... | ... | @@ -1009,11 +1009,6 @@ initWholeCoreBindings hsc_env mod_iface details (LM utc_time this_mod uls) = do |
| 1009 | 1009 | types_var <- newIORef (md_types details)
|
| 1010 | 1010 | let kv = knotVarsFromModuleEnv (mkModuleEnv [(this_mod, types_var)])
|
| 1011 | 1011 | let hsc_env' = hscUpdateHPT act hsc_env { hsc_type_env_vars = kv }
|
| 1012 | - core_binds <- initIfaceCheck (text "l") hsc_env' $ typecheckWholeCoreBindings types_var fi
|
|
| 1013 | - -- MP: The NoStubs here is only from (I think) the TH `qAddForeignFilePath` feature but it's a bit unclear what to do
|
|
| 1014 | - -- with these files, do we have to read and serialise the foreign file? I will leave it for now until someone
|
|
| 1015 | - -- reports a bug.
|
|
| 1016 | - let cgi_guts = CgInteractiveGuts this_mod core_binds (typeEnvTyCons (md_types details)) NoStubs Nothing []
|
|
| 1017 | 1012 | -- The bytecode generation itself is lazy because otherwise even when doing
|
| 1018 | 1013 | -- recompilation checking the bytecode will be generated (which slows things down a lot)
|
| 1019 | 1014 | -- the laziness is OK because generateByteCode just depends on things already loaded
|