Search code examples
haskell

Why do I have a warning about the GeneralizedNewtypeDeriving extension when using the Safe extension if I do not use the first one?


I enabled the Safe extension, and now I have this warning:

<no location info>: warning: [GHC-98887]
    -XGeneralizedNewtypeDeriving is not allowed in Safe Haskell; ignoring -XGeneralizedNewtypeDeriving

However, I don't use that in the first place.


Solution

  • This is a known issue: see the GHC bug tracker.