Skip to content

Commit b996631

Browse files
committed
ParseMonad: silence warning incomplete-uni-patterns for GHC >= 9.2
1 parent 05b3d41 commit b996631

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Language/Haskell/ParseMonad.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414

1515
{-# LANGUAGE CPP #-}
1616

17+
#if __GLASGOW_HASKELL__ >= 902
18+
{-# OPTIONS_GHC -fno-warn-incomplete-uni-patterns #-}
19+
#endif
20+
1721
module Language.Haskell.ParseMonad(
1822
-- * Parsing
1923
P, ParseResult(..), atSrcLoc, LexContext(..),

0 commit comments

Comments
 (0)