Skip to content

Commit

Permalink
Protect agains no-incomplete-record-selectoers
Browse files Browse the repository at this point in the history
Apparently this is becoming part of -Wall in ghc 9.12
  • Loading branch information
LeventErkok committed Dec 6, 2024
1 parent 634f256 commit e7daf24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Documentation/SBV/Examples/Puzzles/AOC_2021_24.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,15 @@
-- should provide a template for other similar programs.
-----------------------------------------------------------------------------

{-# LANGUAGE CPP #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE NegativeLiterals #-}

#if MIN_VERSION_base(4,20,0)
{-# OPTIONS_GHC -Wall -Werror -Wno-incomplete-record-selectors #-}
#else
{-# OPTIONS_GHC -Wall -Werror #-}
#endif

module Documentation.SBV.Examples.Puzzles.AOC_2021_24 where

Expand Down

0 comments on commit e7daf24

Please sign in to comment.