Skip to content
  • Ryan Scott's avatar
    Adapt to `unsafeCoerce#` no longer being exported from `GHC.{Base,Prim}` · 4077e344
    Ryan Scott authored
    Commit ghc/ghc@74ad75e8
    moved `unsafeCoerce#` from `GHC.Prim` to `Unsafe.Coerce`, making it
    no longer possible to import `unsafeCoerce#` from `GHC.Prim` (or
    `GHC.Base`, which reexported it). Sadly, a large number of Hackage
    libraries obtain `unsafeCoerce#` by importing these modules instead
    of `GHC.Exts`. As a result, all of these libraries need to be patched
    to import `unsafeCoerce#` from somewhere else instead.
    4077e344