I'm using GHC on haskell-stack project. I'd like to lift missing-fields warning up to a compile error.
I tried to do the following, but it doesn't work.
{-# OPTIONS_GHC -Werror=missing-fields #-} -- DOESN'T WORK
Could you tell how to lift missing fields warning up to a compile error?