diff --git a/tests/DListProperties.hs b/tests/DListProperties.hs index 94b88e8..2e7fd1c 100644 --- a/tests/DListProperties.hs +++ b/tests/DListProperties.hs @@ -14,8 +14,9 @@ #endif {- ORMOLU_ENABLE -} --- CPP: GHC >= 9.8 for -Wx-partial -#if __GLASGOW_HASKELL__ >= 980 +-- CPP: GHC >= 9.8 for disabling partial function warnings for 'List.head' and +-- 'List.tail' +#if __GLASGOW_HASKELL__ >= 908 {-# OPTIONS_GHC -Wno-x-partial #-} #endif