Skip to content

Reexporting GHC.Exts does not export Constraint

I expected the following code

module T (module GHC.Exts) where

import GHC.Exts (Constraint)

to reexport Constraint, but in fact T exports nothing at all. Explicitely exporting Constraint from T works as expected.

Trac metadata
Trac field Value
Version 7.10.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
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