Skip to content

GHC API no longer exports CoreModule

Commit 94bf0d36 moved CoreModule from compiler/main/HscTypes.hs to compiler/main/GHC.hs, but didn't move the CoreModule(..) export. (It was removed from the former and never added to the latter.)

This makes compileToCoreModule and the like hard to use.

Trac metadata
Trac field Value
Version 7.2.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHC API
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information