Skip to content

Avoid redundant imports of GHC.Driver.Session

Sylvain Henry requested to merge hsyl20/ghc:hsyl20/imports-session into master

Remove GHC.Driver.Session imports that weren't considered as redundant because of the reexport of PlatformConstants. Also remove this reexport as modules using this datatype should import GHC.Platform instead.

And also (second commit) Reverse dependency between StgToCmm and Runtime.Heap.Layout because it removes a layering violation in GHC.Runtime.Heap.Layout.

Merge request reports