Skip to content

Deriving Lift is not -Wimplicit-lift friendly

Summary

Deriving Lift fails when -Wimplicit-lift is set

Steps to reproduce

data Foo = Foo Int Bool
  deriving (Lift)

Expected behavior

The above snippet should work with -Wimplicit-lift -Werror enabled

Environment

  • GHC version used: 9.2.1

Optional:

  • Operating System:
  • System Architecture:
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information