CoreToStg.Prep: Get rid of `DynFlags` and `HscEnv`
Also do a partial pass on Core.Lint
, as it is a dependency.
The call sites in Driver.Main
are duplicative, but this is good,
because the next step is to remove InteractiveContext
from Core.Lint
into Core.Lint.Interactive
.
Also further clean up Core.Lint
to use a better configuration record
than the one we initially added.
Edited by John Ericson