Explain or remove mystery import in Unsafe.Coerce
Unsafe.Coerce
has the line
import GHC.Integer () -- for build ordering
It is not at all clear to me why build ordering demands that GHC.Integer
be compiled before Unsafe.Coerce
when the latter uses no numeric literals, no arithmetic, and no numeric types. If there's a real reason for this, the comment should be expanded. Otherwise, the import should be removed.
Trac metadata
Trac field | Value |
---|---|
Version | 8.4.3 |
Type | Task |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Core Libraries |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |