Skip to content

Commit

Permalink
Use -Wno-x-partial only for GHC 9.8 or greater
Browse files Browse the repository at this point in the history
  • Loading branch information
MMZK1526 committed May 28, 2024
1 parent c6c58a9 commit 4b9fe81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/Spec.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE DuplicateRecordFields #-}

{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
#if __GLASGOW_HASKELL__ >= 908
{-# OPTIONS_GHC -Wno-x-partial #-}
#endif

import Control.Monad
import Data.Aeson
Expand Down

0 comments on commit 4b9fe81

Please sign in to comment.